AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/ThrottleSettings.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace APIGateway
26{
27namespace Model
28{
36 {
37 public:
38 AWS_APIGATEWAY_API GetAccountResult();
41
42
44
47 inline const Aws::String& GetCloudwatchRoleArn() const{ return m_cloudwatchRoleArn; }
48 inline void SetCloudwatchRoleArn(const Aws::String& value) { m_cloudwatchRoleArn = value; }
49 inline void SetCloudwatchRoleArn(Aws::String&& value) { m_cloudwatchRoleArn = std::move(value); }
50 inline void SetCloudwatchRoleArn(const char* value) { m_cloudwatchRoleArn.assign(value); }
51 inline GetAccountResult& WithCloudwatchRoleArn(const Aws::String& value) { SetCloudwatchRoleArn(value); return *this;}
52 inline GetAccountResult& WithCloudwatchRoleArn(Aws::String&& value) { SetCloudwatchRoleArn(std::move(value)); return *this;}
53 inline GetAccountResult& WithCloudwatchRoleArn(const char* value) { SetCloudwatchRoleArn(value); return *this;}
55
57
60 inline const ThrottleSettings& GetThrottleSettings() const{ return m_throttleSettings; }
61 inline void SetThrottleSettings(const ThrottleSettings& value) { m_throttleSettings = value; }
62 inline void SetThrottleSettings(ThrottleSettings&& value) { m_throttleSettings = std::move(value); }
63 inline GetAccountResult& WithThrottleSettings(const ThrottleSettings& value) { SetThrottleSettings(value); return *this;}
64 inline GetAccountResult& WithThrottleSettings(ThrottleSettings&& value) { SetThrottleSettings(std::move(value)); return *this;}
66
68
72 inline const Aws::Vector<Aws::String>& GetFeatures() const{ return m_features; }
73 inline void SetFeatures(const Aws::Vector<Aws::String>& value) { m_features = value; }
74 inline void SetFeatures(Aws::Vector<Aws::String>&& value) { m_features = std::move(value); }
75 inline GetAccountResult& WithFeatures(const Aws::Vector<Aws::String>& value) { SetFeatures(value); return *this;}
76 inline GetAccountResult& WithFeatures(Aws::Vector<Aws::String>&& value) { SetFeatures(std::move(value)); return *this;}
77 inline GetAccountResult& AddFeatures(const Aws::String& value) { m_features.push_back(value); return *this; }
78 inline GetAccountResult& AddFeatures(Aws::String&& value) { m_features.push_back(std::move(value)); return *this; }
79 inline GetAccountResult& AddFeatures(const char* value) { m_features.push_back(value); return *this; }
81
83
86 inline const Aws::String& GetApiKeyVersion() const{ return m_apiKeyVersion; }
87 inline void SetApiKeyVersion(const Aws::String& value) { m_apiKeyVersion = value; }
88 inline void SetApiKeyVersion(Aws::String&& value) { m_apiKeyVersion = std::move(value); }
89 inline void SetApiKeyVersion(const char* value) { m_apiKeyVersion.assign(value); }
90 inline GetAccountResult& WithApiKeyVersion(const Aws::String& value) { SetApiKeyVersion(value); return *this;}
91 inline GetAccountResult& WithApiKeyVersion(Aws::String&& value) { SetApiKeyVersion(std::move(value)); return *this;}
92 inline GetAccountResult& WithApiKeyVersion(const char* value) { SetApiKeyVersion(value); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const{ return m_requestId; }
98 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
99 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
100 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
101 inline GetAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline GetAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline GetAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 private:
106
107 Aws::String m_cloudwatchRoleArn;
108
109 ThrottleSettings m_throttleSettings;
110
111 Aws::Vector<Aws::String> m_features;
112
113 Aws::String m_apiKeyVersion;
114
115 Aws::String m_requestId;
116 };
117
118} // namespace Model
119} // namespace APIGateway
120} // namespace Aws
void SetThrottleSettings(ThrottleSettings &&value)
AWS_APIGATEWAY_API GetAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCloudwatchRoleArn() const
void SetRequestId(const Aws::String &value)
GetAccountResult & WithApiKeyVersion(const Aws::String &value)
GetAccountResult & WithFeatures(Aws::Vector< Aws::String > &&value)
void SetCloudwatchRoleArn(const Aws::String &value)
GetAccountResult & AddFeatures(const Aws::String &value)
GetAccountResult & WithCloudwatchRoleArn(const char *value)
void SetThrottleSettings(const ThrottleSettings &value)
AWS_APIGATEWAY_API GetAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountResult & WithRequestId(const Aws::String &value)
const ThrottleSettings & GetThrottleSettings() const
void SetFeatures(Aws::Vector< Aws::String > &&value)
void SetCloudwatchRoleArn(Aws::String &&value)
GetAccountResult & AddFeatures(const char *value)
void SetFeatures(const Aws::Vector< Aws::String > &value)
void SetApiKeyVersion(const Aws::String &value)
GetAccountResult & WithFeatures(const Aws::Vector< Aws::String > &value)
GetAccountResult & WithCloudwatchRoleArn(const Aws::String &value)
GetAccountResult & WithApiKeyVersion(const char *value)
GetAccountResult & WithRequestId(Aws::String &&value)
const Aws::String & GetApiKeyVersion() const
GetAccountResult & WithThrottleSettings(const ThrottleSettings &value)
const Aws::Vector< Aws::String > & GetFeatures() const
GetAccountResult & WithApiKeyVersion(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetApiKeyVersion(Aws::String &&value)
GetAccountResult & WithCloudwatchRoleArn(Aws::String &&value)
GetAccountResult & WithRequestId(const char *value)
GetAccountResult & AddFeatures(Aws::String &&value)
GetAccountResult & WithThrottleSettings(ThrottleSettings &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue