AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerateClientCertificateResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.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{
37 {
38 public:
39 AWS_APIGATEWAY_API GenerateClientCertificateResult() = default;
42
43
45
48 inline const Aws::String& GetClientCertificateId() const { return m_clientCertificateId; }
49 template<typename ClientCertificateIdT = Aws::String>
50 void SetClientCertificateId(ClientCertificateIdT&& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = std::forward<ClientCertificateIdT>(value); }
51 template<typename ClientCertificateIdT = Aws::String>
52 GenerateClientCertificateResult& WithClientCertificateId(ClientCertificateIdT&& value) { SetClientCertificateId(std::forward<ClientCertificateIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 GenerateClientCertificateResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
71 inline const Aws::String& GetPemEncodedCertificate() const { return m_pemEncodedCertificate; }
72 template<typename PemEncodedCertificateT = Aws::String>
73 void SetPemEncodedCertificate(PemEncodedCertificateT&& value) { m_pemEncodedCertificateHasBeenSet = true; m_pemEncodedCertificate = std::forward<PemEncodedCertificateT>(value); }
74 template<typename PemEncodedCertificateT = Aws::String>
75 GenerateClientCertificateResult& WithPemEncodedCertificate(PemEncodedCertificateT&& value) { SetPemEncodedCertificate(std::forward<PemEncodedCertificateT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
83 template<typename CreatedDateT = Aws::Utils::DateTime>
84 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
85 template<typename CreatedDateT = Aws::Utils::DateTime>
86 GenerateClientCertificateResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
94 template<typename ExpirationDateT = Aws::Utils::DateTime>
95 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
96 template<typename ExpirationDateT = Aws::Utils::DateTime>
97 GenerateClientCertificateResult& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
99
101
105 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
106 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
108 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 GenerateClientCertificateResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
110 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
111 GenerateClientCertificateResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
112 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template<typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
121 template<typename RequestIdT = Aws::String>
122 GenerateClientCertificateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
124 private:
125
126 Aws::String m_clientCertificateId;
127 bool m_clientCertificateIdHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131
132 Aws::String m_pemEncodedCertificate;
133 bool m_pemEncodedCertificateHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdDate{};
136 bool m_createdDateHasBeenSet = false;
137
138 Aws::Utils::DateTime m_expirationDate{};
139 bool m_expirationDateHasBeenSet = false;
140
142 bool m_tagsHasBeenSet = false;
143
144 Aws::String m_requestId;
145 bool m_requestIdHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace APIGateway
150} // namespace Aws
GenerateClientCertificateResult & WithCreatedDate(CreatedDateT &&value)
GenerateClientCertificateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GenerateClientCertificateResult & WithTags(TagsT &&value)
GenerateClientCertificateResult & WithDescription(DescriptionT &&value)
GenerateClientCertificateResult & WithClientCertificateId(ClientCertificateIdT &&value)
GenerateClientCertificateResult & WithPemEncodedCertificate(PemEncodedCertificateT &&value)
AWS_APIGATEWAY_API GenerateClientCertificateResult()=default
GenerateClientCertificateResult & WithExpirationDate(ExpirationDateT &&value)
GenerateClientCertificateResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_APIGATEWAY_API GenerateClientCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAY_API GenerateClientCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
Aws::Utils::Json::JsonValue JsonValue