AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/IdCConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecurityAgent {
24namespace Model {
26 public:
27 AWS_SECURITYAGENT_API GetApplicationResult() = default;
30
32
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 template <typename ApplicationIdT = Aws::String>
37 void SetApplicationId(ApplicationIdT&& value) {
38 m_applicationIdHasBeenSet = true;
39 m_applicationId = std::forward<ApplicationIdT>(value);
40 }
41 template <typename ApplicationIdT = Aws::String>
42 GetApplicationResult& WithApplicationId(ApplicationIdT&& value) {
43 SetApplicationId(std::forward<ApplicationIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetDomain() const { return m_domain; }
53 template <typename DomainT = Aws::String>
54 void SetDomain(DomainT&& value) {
55 m_domainHasBeenSet = true;
56 m_domain = std::forward<DomainT>(value);
57 }
58 template <typename DomainT = Aws::String>
59 GetApplicationResult& WithDomain(DomainT&& value) {
60 SetDomain(std::forward<DomainT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
70 template <typename ApplicationNameT = Aws::String>
71 void SetApplicationName(ApplicationNameT&& value) {
72 m_applicationNameHasBeenSet = true;
73 m_applicationName = std::forward<ApplicationNameT>(value);
74 }
75 template <typename ApplicationNameT = Aws::String>
76 GetApplicationResult& WithApplicationName(ApplicationNameT&& value) {
77 SetApplicationName(std::forward<ApplicationNameT>(value));
78 return *this;
79 }
81
83
86 inline const IdCConfiguration& GetIdcConfiguration() const { return m_idcConfiguration; }
87 template <typename IdcConfigurationT = IdCConfiguration>
88 void SetIdcConfiguration(IdcConfigurationT&& value) {
89 m_idcConfigurationHasBeenSet = true;
90 m_idcConfiguration = std::forward<IdcConfigurationT>(value);
91 }
92 template <typename IdcConfigurationT = IdCConfiguration>
93 GetApplicationResult& WithIdcConfiguration(IdcConfigurationT&& value) {
94 SetIdcConfiguration(std::forward<IdcConfigurationT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
105 template <typename RoleArnT = Aws::String>
106 void SetRoleArn(RoleArnT&& value) {
107 m_roleArnHasBeenSet = true;
108 m_roleArn = std::forward<RoleArnT>(value);
109 }
110 template <typename RoleArnT = Aws::String>
112 SetRoleArn(std::forward<RoleArnT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDefaultKmsKeyId() const { return m_defaultKmsKeyId; }
122 template <typename DefaultKmsKeyIdT = Aws::String>
123 void SetDefaultKmsKeyId(DefaultKmsKeyIdT&& value) {
124 m_defaultKmsKeyIdHasBeenSet = true;
125 m_defaultKmsKeyId = std::forward<DefaultKmsKeyIdT>(value);
126 }
127 template <typename DefaultKmsKeyIdT = Aws::String>
128 GetApplicationResult& WithDefaultKmsKeyId(DefaultKmsKeyIdT&& value) {
129 SetDefaultKmsKeyId(std::forward<DefaultKmsKeyIdT>(value));
130 return *this;
131 }
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template <typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) {
139 m_requestIdHasBeenSet = true;
140 m_requestId = std::forward<RequestIdT>(value);
141 }
142 template <typename RequestIdT = Aws::String>
143 GetApplicationResult& WithRequestId(RequestIdT&& value) {
144 SetRequestId(std::forward<RequestIdT>(value));
145 return *this;
146 }
148 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
149
150 private:
151 Aws::String m_applicationId;
152
153 Aws::String m_domain;
154
155 Aws::String m_applicationName;
156
157 IdCConfiguration m_idcConfiguration;
158
159 Aws::String m_roleArn;
160
161 Aws::String m_defaultKmsKeyId;
162
163 Aws::String m_requestId;
164 Aws::Http::HttpResponseCode m_HttpResponseCode;
165 bool m_applicationIdHasBeenSet = false;
166 bool m_domainHasBeenSet = false;
167 bool m_applicationNameHasBeenSet = false;
168 bool m_idcConfigurationHasBeenSet = false;
169 bool m_roleArnHasBeenSet = false;
170 bool m_defaultKmsKeyIdHasBeenSet = false;
171 bool m_requestIdHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace SecurityAgent
176} // namespace Aws
GetApplicationResult & WithDefaultKmsKeyId(DefaultKmsKeyIdT &&value)
GetApplicationResult & WithIdcConfiguration(IdcConfigurationT &&value)
AWS_SECURITYAGENT_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYAGENT_API GetApplicationResult()=default
const IdCConfiguration & GetIdcConfiguration() const
void SetIdcConfiguration(IdcConfigurationT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
GetApplicationResult & WithRoleArn(RoleArnT &&value)
GetApplicationResult & WithApplicationName(ApplicationNameT &&value)
AWS_SECURITYAGENT_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetApplicationResult & WithApplicationId(ApplicationIdT &&value)
GetApplicationResult & WithDomain(DomainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue