AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerateClientCertificateRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace APIGateway
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_APIGATEWAY_API GenerateClientCertificateRequest() = default;
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_APIGATEWAY_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetDescription() const { return m_description; }
45 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 template<typename DescriptionT = Aws::String>
47 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
48 template<typename DescriptionT = Aws::String>
49 GenerateClientCertificateRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
51
53
58 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
59 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
60 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
61 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
62 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
63 GenerateClientCertificateRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
64 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
65 GenerateClientCertificateRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
66 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
67 }
69 private:
70
71 Aws::String m_description;
72 bool m_descriptionHasBeenSet = false;
73
75 bool m_tagsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace APIGateway
80} // 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