AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsApiGatewayRestApiDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsApiGatewayEndpointConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AwsApiGatewayRestApiDetails& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AwsApiGatewayRestApiDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AwsApiGatewayRestApiDetails& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline AwsApiGatewayRestApiDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline AwsApiGatewayRestApiDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline AwsApiGatewayRestApiDetails& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline AwsApiGatewayRestApiDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline AwsApiGatewayRestApiDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline AwsApiGatewayRestApiDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
103 inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
104 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
105 inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
106 inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
107 inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
108 inline AwsApiGatewayRestApiDetails& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
109 inline AwsApiGatewayRestApiDetails& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
110 inline AwsApiGatewayRestApiDetails& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
112
114
117 inline const Aws::String& GetVersion() const{ return m_version; }
118 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
119 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
120 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
121 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
122 inline AwsApiGatewayRestApiDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
123 inline AwsApiGatewayRestApiDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
124 inline AwsApiGatewayRestApiDetails& WithVersion(const char* value) { SetVersion(value); return *this;}
126
128
131 inline const Aws::Vector<Aws::String>& GetBinaryMediaTypes() const{ return m_binaryMediaTypes; }
132 inline bool BinaryMediaTypesHasBeenSet() const { return m_binaryMediaTypesHasBeenSet; }
133 inline void SetBinaryMediaTypes(const Aws::Vector<Aws::String>& value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes = value; }
134 inline void SetBinaryMediaTypes(Aws::Vector<Aws::String>&& value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes = std::move(value); }
137 inline AwsApiGatewayRestApiDetails& AddBinaryMediaTypes(const Aws::String& value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes.push_back(value); return *this; }
138 inline AwsApiGatewayRestApiDetails& AddBinaryMediaTypes(Aws::String&& value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes.push_back(std::move(value)); return *this; }
139 inline AwsApiGatewayRestApiDetails& AddBinaryMediaTypes(const char* value) { m_binaryMediaTypesHasBeenSet = true; m_binaryMediaTypes.push_back(value); return *this; }
141
143
148 inline int GetMinimumCompressionSize() const{ return m_minimumCompressionSize; }
149 inline bool MinimumCompressionSizeHasBeenSet() const { return m_minimumCompressionSizeHasBeenSet; }
150 inline void SetMinimumCompressionSize(int value) { m_minimumCompressionSizeHasBeenSet = true; m_minimumCompressionSize = value; }
153
155
162 inline const Aws::String& GetApiKeySource() const{ return m_apiKeySource; }
163 inline bool ApiKeySourceHasBeenSet() const { return m_apiKeySourceHasBeenSet; }
164 inline void SetApiKeySource(const Aws::String& value) { m_apiKeySourceHasBeenSet = true; m_apiKeySource = value; }
165 inline void SetApiKeySource(Aws::String&& value) { m_apiKeySourceHasBeenSet = true; m_apiKeySource = std::move(value); }
166 inline void SetApiKeySource(const char* value) { m_apiKeySourceHasBeenSet = true; m_apiKeySource.assign(value); }
167 inline AwsApiGatewayRestApiDetails& WithApiKeySource(const Aws::String& value) { SetApiKeySource(value); return *this;}
168 inline AwsApiGatewayRestApiDetails& WithApiKeySource(Aws::String&& value) { SetApiKeySource(std::move(value)); return *this;}
169 inline AwsApiGatewayRestApiDetails& WithApiKeySource(const char* value) { SetApiKeySource(value); return *this;}
171
173
176 inline const AwsApiGatewayEndpointConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
177 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
178 inline void SetEndpointConfiguration(const AwsApiGatewayEndpointConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; }
179 inline void SetEndpointConfiguration(AwsApiGatewayEndpointConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); }
183 private:
184
185 Aws::String m_id;
186 bool m_idHasBeenSet = false;
187
188 Aws::String m_name;
189 bool m_nameHasBeenSet = false;
190
191 Aws::String m_description;
192 bool m_descriptionHasBeenSet = false;
193
194 Aws::String m_createdDate;
195 bool m_createdDateHasBeenSet = false;
196
197 Aws::String m_version;
198 bool m_versionHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_binaryMediaTypes;
201 bool m_binaryMediaTypesHasBeenSet = false;
202
203 int m_minimumCompressionSize;
204 bool m_minimumCompressionSizeHasBeenSet = false;
205
206 Aws::String m_apiKeySource;
207 bool m_apiKeySourceHasBeenSet = false;
208
209 AwsApiGatewayEndpointConfiguration m_endpointConfiguration;
210 bool m_endpointConfigurationHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace SecurityHub
215} // namespace Aws
AwsApiGatewayRestApiDetails & WithCreatedDate(Aws::String &&value)
AwsApiGatewayRestApiDetails & WithId(const char *value)
AwsApiGatewayRestApiDetails & AddBinaryMediaTypes(const Aws::String &value)
const AwsApiGatewayEndpointConfiguration & GetEndpointConfiguration() const
AwsApiGatewayRestApiDetails & WithVersion(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsApiGatewayRestApiDetails & WithEndpointConfiguration(const AwsApiGatewayEndpointConfiguration &value)
AwsApiGatewayRestApiDetails & WithName(const char *value)
AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBinaryMediaTypes(Aws::Vector< Aws::String > &&value)
AwsApiGatewayRestApiDetails & WithBinaryMediaTypes(Aws::Vector< Aws::String > &&value)
AwsApiGatewayRestApiDetails & WithApiKeySource(const char *value)
AwsApiGatewayRestApiDetails & WithVersion(Aws::String &&value)
AwsApiGatewayRestApiDetails & WithId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetBinaryMediaTypes() const
AwsApiGatewayRestApiDetails & WithDescription(Aws::String &&value)
AwsApiGatewayRestApiDetails & WithName(Aws::String &&value)
void SetBinaryMediaTypes(const Aws::Vector< Aws::String > &value)
void SetEndpointConfiguration(const AwsApiGatewayEndpointConfiguration &value)
void SetEndpointConfiguration(AwsApiGatewayEndpointConfiguration &&value)
AwsApiGatewayRestApiDetails & WithApiKeySource(Aws::String &&value)
AwsApiGatewayRestApiDetails & WithName(const Aws::String &value)
AwsApiGatewayRestApiDetails & WithBinaryMediaTypes(const Aws::Vector< Aws::String > &value)
AwsApiGatewayRestApiDetails & WithVersion(const Aws::String &value)
AwsApiGatewayRestApiDetails & WithMinimumCompressionSize(int value)
AwsApiGatewayRestApiDetails & WithId(Aws::String &&value)
AwsApiGatewayRestApiDetails & WithApiKeySource(const Aws::String &value)
AwsApiGatewayRestApiDetails & AddBinaryMediaTypes(const char *value)
AwsApiGatewayRestApiDetails & AddBinaryMediaTypes(Aws::String &&value)
AwsApiGatewayRestApiDetails & WithCreatedDate(const char *value)
AwsApiGatewayRestApiDetails & WithCreatedDate(const Aws::String &value)
AwsApiGatewayRestApiDetails & WithDescription(const char *value)
AWS_SECURITYHUB_API AwsApiGatewayRestApiDetails(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayRestApiDetails & WithEndpointConfiguration(AwsApiGatewayEndpointConfiguration &&value)
AwsApiGatewayRestApiDetails & WithDescription(const Aws::String &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