AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateAccountResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
64  {
65  public:
69 
70 
74  inline const Aws::String& GetCloudwatchRoleArn() const{ return m_cloudwatchRoleArn; }
75 
79  inline void SetCloudwatchRoleArn(const Aws::String& value) { m_cloudwatchRoleArn = value; }
80 
84  inline void SetCloudwatchRoleArn(Aws::String&& value) { m_cloudwatchRoleArn = std::move(value); }
85 
89  inline void SetCloudwatchRoleArn(const char* value) { m_cloudwatchRoleArn.assign(value); }
90 
94  inline UpdateAccountResult& WithCloudwatchRoleArn(const Aws::String& value) { SetCloudwatchRoleArn(value); return *this;}
95 
99  inline UpdateAccountResult& WithCloudwatchRoleArn(Aws::String&& value) { SetCloudwatchRoleArn(std::move(value)); return *this;}
100 
104  inline UpdateAccountResult& WithCloudwatchRoleArn(const char* value) { SetCloudwatchRoleArn(value); return *this;}
105 
106 
111  inline const ThrottleSettings& GetThrottleSettings() const{ return m_throttleSettings; }
112 
117  inline void SetThrottleSettings(const ThrottleSettings& value) { m_throttleSettings = value; }
118 
123  inline void SetThrottleSettings(ThrottleSettings&& value) { m_throttleSettings = std::move(value); }
124 
129  inline UpdateAccountResult& WithThrottleSettings(const ThrottleSettings& value) { SetThrottleSettings(value); return *this;}
130 
135  inline UpdateAccountResult& WithThrottleSettings(ThrottleSettings&& value) { SetThrottleSettings(std::move(value)); return *this;}
136 
137 
142  inline const Aws::Vector<Aws::String>& GetFeatures() const{ return m_features; }
143 
148  inline void SetFeatures(const Aws::Vector<Aws::String>& value) { m_features = value; }
149 
154  inline void SetFeatures(Aws::Vector<Aws::String>&& value) { m_features = std::move(value); }
155 
160  inline UpdateAccountResult& WithFeatures(const Aws::Vector<Aws::String>& value) { SetFeatures(value); return *this;}
161 
166  inline UpdateAccountResult& WithFeatures(Aws::Vector<Aws::String>&& value) { SetFeatures(std::move(value)); return *this;}
167 
172  inline UpdateAccountResult& AddFeatures(const Aws::String& value) { m_features.push_back(value); return *this; }
173 
178  inline UpdateAccountResult& AddFeatures(Aws::String&& value) { m_features.push_back(std::move(value)); return *this; }
179 
184  inline UpdateAccountResult& AddFeatures(const char* value) { m_features.push_back(value); return *this; }
185 
186 
190  inline const Aws::String& GetApiKeyVersion() const{ return m_apiKeyVersion; }
191 
195  inline void SetApiKeyVersion(const Aws::String& value) { m_apiKeyVersion = value; }
196 
200  inline void SetApiKeyVersion(Aws::String&& value) { m_apiKeyVersion = std::move(value); }
201 
205  inline void SetApiKeyVersion(const char* value) { m_apiKeyVersion.assign(value); }
206 
210  inline UpdateAccountResult& WithApiKeyVersion(const Aws::String& value) { SetApiKeyVersion(value); return *this;}
211 
215  inline UpdateAccountResult& WithApiKeyVersion(Aws::String&& value) { SetApiKeyVersion(std::move(value)); return *this;}
216 
220  inline UpdateAccountResult& WithApiKeyVersion(const char* value) { SetApiKeyVersion(value); return *this;}
221 
222  private:
223 
224  Aws::String m_cloudwatchRoleArn;
225 
226  ThrottleSettings m_throttleSettings;
227 
228  Aws::Vector<Aws::String> m_features;
229 
230  Aws::String m_apiKeyVersion;
231  };
232 
233 } // namespace Model
234 } // namespace APIGateway
235 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::UpdateAccountResult::WithFeatures
UpdateAccountResult & WithFeatures(const Aws::Vector< Aws::String > &value)
Definition: UpdateAccountResult.h:160
Aws::APIGateway::Model::UpdateAccountResult::GetCloudwatchRoleArn
const Aws::String & GetCloudwatchRoleArn() const
Definition: UpdateAccountResult.h:74
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateAccountResult::SetThrottleSettings
void SetThrottleSettings(ThrottleSettings &&value)
Definition: UpdateAccountResult.h:123
Aws::APIGateway::Model::UpdateAccountResult::operator=
UpdateAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateAccountResult::SetFeatures
void SetFeatures(const Aws::Vector< Aws::String > &value)
Definition: UpdateAccountResult.h:148
Aws::APIGateway::Model::UpdateAccountResult::WithApiKeyVersion
UpdateAccountResult & WithApiKeyVersion(const char *value)
Definition: UpdateAccountResult.h:220
Aws::APIGateway::Model::UpdateAccountResult::GetThrottleSettings
const ThrottleSettings & GetThrottleSettings() const
Definition: UpdateAccountResult.h:111
Aws::APIGateway::Model::UpdateAccountResult::AddFeatures
UpdateAccountResult & AddFeatures(const Aws::String &value)
Definition: UpdateAccountResult.h:172
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateAccountResult::GetFeatures
const Aws::Vector< Aws::String > & GetFeatures() const
Definition: UpdateAccountResult.h:142
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::UpdateAccountResult::AddFeatures
UpdateAccountResult & AddFeatures(Aws::String &&value)
Definition: UpdateAccountResult.h:178
Aws::APIGateway::Model::UpdateAccountResult::UpdateAccountResult
UpdateAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateAccountResult::WithApiKeyVersion
UpdateAccountResult & WithApiKeyVersion(const Aws::String &value)
Definition: UpdateAccountResult.h:210
Aws::APIGateway::Model::UpdateAccountResult::SetFeatures
void SetFeatures(Aws::Vector< Aws::String > &&value)
Definition: UpdateAccountResult.h:154
Aws::APIGateway::Model::ThrottleSettings
Definition: ThrottleSettings.h:30
Aws::APIGateway::Model::UpdateAccountResult::AddFeatures
UpdateAccountResult & AddFeatures(const char *value)
Definition: UpdateAccountResult.h:184
AWSString.h
Aws::APIGateway::Model::UpdateAccountResult::UpdateAccountResult
UpdateAccountResult()
Aws::APIGateway::Model::UpdateAccountResult::SetApiKeyVersion
void SetApiKeyVersion(const char *value)
Definition: UpdateAccountResult.h:205
Aws::APIGateway::Model::UpdateAccountResult::WithThrottleSettings
UpdateAccountResult & WithThrottleSettings(const ThrottleSettings &value)
Definition: UpdateAccountResult.h:129
Aws::APIGateway::Model::UpdateAccountResult::SetCloudwatchRoleArn
void SetCloudwatchRoleArn(const char *value)
Definition: UpdateAccountResult.h:89
Aws::APIGateway::Model::UpdateAccountResult::WithCloudwatchRoleArn
UpdateAccountResult & WithCloudwatchRoleArn(Aws::String &&value)
Definition: UpdateAccountResult.h:99
Aws::APIGateway::Model::UpdateAccountResult::WithCloudwatchRoleArn
UpdateAccountResult & WithCloudwatchRoleArn(const Aws::String &value)
Definition: UpdateAccountResult.h:94
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::APIGateway::Model::UpdateAccountResult::WithCloudwatchRoleArn
UpdateAccountResult & WithCloudwatchRoleArn(const char *value)
Definition: UpdateAccountResult.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateAccountResult::SetApiKeyVersion
void SetApiKeyVersion(const Aws::String &value)
Definition: UpdateAccountResult.h:195
Aws::APIGateway::Model::UpdateAccountResult
Definition: UpdateAccountResult.h:64
Aws::APIGateway::Model::UpdateAccountResult::WithFeatures
UpdateAccountResult & WithFeatures(Aws::Vector< Aws::String > &&value)
Definition: UpdateAccountResult.h:166
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateAccountResult::SetApiKeyVersion
void SetApiKeyVersion(Aws::String &&value)
Definition: UpdateAccountResult.h:200
Aws::APIGateway::Model::UpdateAccountResult::WithApiKeyVersion
UpdateAccountResult & WithApiKeyVersion(Aws::String &&value)
Definition: UpdateAccountResult.h:215
Aws::APIGateway::Model::UpdateAccountResult::WithThrottleSettings
UpdateAccountResult & WithThrottleSettings(ThrottleSettings &&value)
Definition: UpdateAccountResult.h:135
Aws::APIGateway::Model::UpdateAccountResult::SetCloudwatchRoleArn
void SetCloudwatchRoleArn(const Aws::String &value)
Definition: UpdateAccountResult.h:79
Aws::APIGateway::Model::UpdateAccountResult::GetApiKeyVersion
const Aws::String & GetApiKeyVersion() const
Definition: UpdateAccountResult.h:190
ThrottleSettings.h
Aws::APIGateway::Model::UpdateAccountResult::SetThrottleSettings
void SetThrottleSettings(const ThrottleSettings &value)
Definition: UpdateAccountResult.h:117
Aws::APIGateway::Model::UpdateAccountResult::SetCloudwatchRoleArn
void SetCloudwatchRoleArn(Aws::String &&value)
Definition: UpdateAccountResult.h:84