AWS SDK for C++  1.9.14
AWS SDK for C++
GenerateClientCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace APIGateway
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "GenerateClientCertificate"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetDescription() const{ return m_description; }
44 
48  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 
53  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
54 
58  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 
63  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 
68  inline GenerateClientCertificateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 
73  inline GenerateClientCertificateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 
78  inline GenerateClientCertificateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79 
80 
86  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
87 
93  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 
100  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
101 
107  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 
114  inline GenerateClientCertificateRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
115 
121  inline GenerateClientCertificateRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 
128  inline GenerateClientCertificateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
129 
135  inline GenerateClientCertificateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 
142  inline GenerateClientCertificateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 
149  inline GenerateClientCertificateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
150 
156  inline GenerateClientCertificateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
157 
163  inline GenerateClientCertificateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
164 
170  inline GenerateClientCertificateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
171 
172  private:
173 
174  Aws::String m_description;
175  bool m_descriptionHasBeenSet;
176 
178  bool m_tagsHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace APIGateway
183 } // namespace Aws
Aws::APIGateway::Model::GenerateClientCertificateRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GenerateClientCertificateRequest.h:100
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GenerateClientCertificateRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: GenerateClientCertificateRequest.h:48
Aws::APIGateway::Model::GenerateClientCertificateRequest::WithDescription
GenerateClientCertificateRequest & WithDescription(const char *value)
Definition: GenerateClientCertificateRequest.h:78
Aws::APIGateway::Model::GenerateClientCertificateRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: GenerateClientCertificateRequest.h:58
Aws::APIGateway::Model::GenerateClientCertificateRequest::GenerateClientCertificateRequest
GenerateClientCertificateRequest()
Aws::APIGateway::Model::GenerateClientCertificateRequest::WithDescription
GenerateClientCertificateRequest & WithDescription(Aws::String &&value)
Definition: GenerateClientCertificateRequest.h:73
Aws::APIGateway::Model::GenerateClientCertificateRequest::GetDescription
const Aws::String & GetDescription() const
Definition: GenerateClientCertificateRequest.h:43
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GenerateClientCertificateRequest::SetDescription
void SetDescription(const char *value)
Definition: GenerateClientCertificateRequest.h:63
Aws::APIGateway::Model::GenerateClientCertificateRequest::WithDescription
GenerateClientCertificateRequest & WithDescription(const Aws::String &value)
Definition: GenerateClientCertificateRequest.h:68
Aws::APIGateway::Model::GenerateClientCertificateRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GenerateClientCertificateRequest.h:107
Aws::APIGateway::Model::GenerateClientCertificateRequest::WithTags
GenerateClientCertificateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GenerateClientCertificateRequest.h:114
APIGatewayRequest.h
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(Aws::String &&key, const char *value)
Definition: GenerateClientCertificateRequest.h:163
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GenerateClientCertificateRequest.h:149
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GenerateClientCertificateRequest.h:135
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GenerateClientCertificateRequest.h:142
Aws::APIGateway::Model::GenerateClientCertificateRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GenerateClientCertificateRequest.h:86
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(const char *key, const char *value)
Definition: GenerateClientCertificateRequest.h:170
AWSString.h
Aws::APIGateway::Model::GenerateClientCertificateRequest
Definition: GenerateClientCertificateRequest.h:27
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GenerateClientCertificateRequest.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GenerateClientCertificateRequest::AddTags
GenerateClientCertificateRequest & AddTags(const char *key, Aws::String &&value)
Definition: GenerateClientCertificateRequest.h:156
Aws::APIGateway::Model::GenerateClientCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GenerateClientCertificateRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: GenerateClientCertificateRequest.h:53
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
AWSMap.h
Aws::APIGateway::Model::GenerateClientCertificateRequest::WithTags
GenerateClientCertificateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GenerateClientCertificateRequest.h:121
Aws::APIGateway::Model::GenerateClientCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GenerateClientCertificateRequest.h:35
Aws::APIGateway::Model::GenerateClientCertificateRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: GenerateClientCertificateRequest.h:93
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19