AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GenerateClientCertificateRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace APIGateway {
16namespace Model {
17
25 public:
26 AWS_APIGATEWAY_API GenerateClientCertificateRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GenerateClientCertificate"; }
33
34 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
61 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
62 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
63 void SetTags(TagsT&& value) {
64 m_tagsHasBeenSet = true;
65 m_tags = std::forward<TagsT>(value);
66 }
67 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
69 SetTags(std::forward<TagsT>(value));
70 return *this;
71 }
72 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
73 GenerateClientCertificateRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
74 m_tagsHasBeenSet = true;
75 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_description;
81
83 bool m_descriptionHasBeenSet = false;
84 bool m_tagsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace APIGateway
89} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GenerateClientCertificateRequest & WithDescription(DescriptionT &&value)
GenerateClientCertificateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
GenerateClientCertificateRequest & WithTags(TagsT &&value)
AWS_APIGATEWAY_API GenerateClientCertificateRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String