AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
GetApplicationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm-sap/SsmSapRequest.h>
9#include <aws/ssm-sap/SsmSap_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SsmSap {
15namespace Model {
16
20 public:
21 AWS_SSMSAP_API GetApplicationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetApplication"; }
28
29 AWS_SSMSAP_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
37 template <typename ApplicationIdT = Aws::String>
38 void SetApplicationId(ApplicationIdT&& value) {
39 m_applicationIdHasBeenSet = true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
41 }
42 template <typename ApplicationIdT = Aws::String>
43 GetApplicationRequest& WithApplicationId(ApplicationIdT&& value) {
44 SetApplicationId(std::forward<ApplicationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
54 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
55 template <typename ApplicationArnT = Aws::String>
56 void SetApplicationArn(ApplicationArnT&& value) {
57 m_applicationArnHasBeenSet = true;
58 m_applicationArn = std::forward<ApplicationArnT>(value);
59 }
60 template <typename ApplicationArnT = Aws::String>
61 GetApplicationRequest& WithApplicationArn(ApplicationArnT&& value) {
62 SetApplicationArn(std::forward<ApplicationArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetAppRegistryArn() const { return m_appRegistryArn; }
72 inline bool AppRegistryArnHasBeenSet() const { return m_appRegistryArnHasBeenSet; }
73 template <typename AppRegistryArnT = Aws::String>
74 void SetAppRegistryArn(AppRegistryArnT&& value) {
75 m_appRegistryArnHasBeenSet = true;
76 m_appRegistryArn = std::forward<AppRegistryArnT>(value);
77 }
78 template <typename AppRegistryArnT = Aws::String>
79 GetApplicationRequest& WithAppRegistryArn(AppRegistryArnT&& value) {
80 SetAppRegistryArn(std::forward<AppRegistryArnT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_applicationId;
86 bool m_applicationIdHasBeenSet = false;
87
88 Aws::String m_applicationArn;
89 bool m_applicationArnHasBeenSet = false;
90
91 Aws::String m_appRegistryArn;
92 bool m_appRegistryArnHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SsmSap
97} // namespace Aws
AWS_SSMSAP_API GetApplicationRequest()=default
void SetApplicationArn(ApplicationArnT &&value)
GetApplicationRequest & WithAppRegistryArn(AppRegistryArnT &&value)
void SetAppRegistryArn(AppRegistryArnT &&value)
GetApplicationRequest & WithApplicationId(ApplicationIdT &&value)
AWS_SSMSAP_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetApplicationRequest & WithApplicationArn(ApplicationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String