AWS SDK for C++

AWS SDK for C++ Version 1.11.816

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
122 inline const Aws::String& GetDefaultKmsKeyId() const { return m_defaultKmsKeyId; }
123 template <typename DefaultKmsKeyIdT = Aws::String>
124 void SetDefaultKmsKeyId(DefaultKmsKeyIdT&& value) {
125 m_defaultKmsKeyIdHasBeenSet = true;
126 m_defaultKmsKeyId = std::forward<DefaultKmsKeyIdT>(value);
127 }
128 template <typename DefaultKmsKeyIdT = Aws::String>
129 GetApplicationResult& WithDefaultKmsKeyId(DefaultKmsKeyIdT&& value) {
130 SetDefaultKmsKeyId(std::forward<DefaultKmsKeyIdT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
144 GetApplicationResult& WithRequestId(RequestIdT&& value) {
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::String m_applicationId;
153
154 Aws::String m_domain;
155
156 Aws::String m_applicationName;
157
158 IdCConfiguration m_idcConfiguration;
159
160 Aws::String m_roleArn;
161
162 Aws::String m_defaultKmsKeyId;
163
164 Aws::String m_requestId;
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_applicationIdHasBeenSet = false;
167 bool m_domainHasBeenSet = false;
168 bool m_applicationNameHasBeenSet = false;
169 bool m_idcConfigurationHasBeenSet = false;
170 bool m_roleArnHasBeenSet = false;
171 bool m_defaultKmsKeyIdHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace SecurityAgent
177} // 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