AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeCertificateProviderResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/CertificateProviderOperation.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT {
26namespace Model {
28 public:
29 AWS_IOT_API DescribeCertificateProviderResult() = default;
32
34
37 inline const Aws::String& GetCertificateProviderName() const { return m_certificateProviderName; }
38 template <typename CertificateProviderNameT = Aws::String>
39 void SetCertificateProviderName(CertificateProviderNameT&& value) {
40 m_certificateProviderNameHasBeenSet = true;
41 m_certificateProviderName = std::forward<CertificateProviderNameT>(value);
42 }
43 template <typename CertificateProviderNameT = Aws::String>
45 SetCertificateProviderName(std::forward<CertificateProviderNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetCertificateProviderArn() const { return m_certificateProviderArn; }
55 template <typename CertificateProviderArnT = Aws::String>
56 void SetCertificateProviderArn(CertificateProviderArnT&& value) {
57 m_certificateProviderArnHasBeenSet = true;
58 m_certificateProviderArn = std::forward<CertificateProviderArnT>(value);
59 }
60 template <typename CertificateProviderArnT = Aws::String>
62 SetCertificateProviderArn(std::forward<CertificateProviderArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetLambdaFunctionArn() const { return m_lambdaFunctionArn; }
72 template <typename LambdaFunctionArnT = Aws::String>
73 void SetLambdaFunctionArn(LambdaFunctionArnT&& value) {
74 m_lambdaFunctionArnHasBeenSet = true;
75 m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value);
76 }
77 template <typename LambdaFunctionArnT = Aws::String>
79 SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::Vector<CertificateProviderOperation>& GetAccountDefaultForOperations() const { return m_accountDefaultForOperations; }
90 template <typename AccountDefaultForOperationsT = Aws::Vector<CertificateProviderOperation>>
91 void SetAccountDefaultForOperations(AccountDefaultForOperationsT&& value) {
92 m_accountDefaultForOperationsHasBeenSet = true;
93 m_accountDefaultForOperations = std::forward<AccountDefaultForOperationsT>(value);
94 }
95 template <typename AccountDefaultForOperationsT = Aws::Vector<CertificateProviderOperation>>
97 SetAccountDefaultForOperations(std::forward<AccountDefaultForOperationsT>(value));
98 return *this;
99 }
101 m_accountDefaultForOperationsHasBeenSet = true;
102 m_accountDefaultForOperations.push_back(value);
103 return *this;
104 }
106
108
112 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
113 template <typename CreationDateT = Aws::Utils::DateTime>
114 void SetCreationDate(CreationDateT&& value) {
115 m_creationDateHasBeenSet = true;
116 m_creationDate = std::forward<CreationDateT>(value);
117 }
118 template <typename CreationDateT = Aws::Utils::DateTime>
120 SetCreationDate(std::forward<CreationDateT>(value));
121 return *this;
122 }
124
126
130 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
131 template <typename LastModifiedDateT = Aws::Utils::DateTime>
132 void SetLastModifiedDate(LastModifiedDateT&& value) {
133 m_lastModifiedDateHasBeenSet = true;
134 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
135 }
136 template <typename LastModifiedDateT = Aws::Utils::DateTime>
138 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
139 return *this;
140 }
142
144
145 inline const Aws::String& GetRequestId() const { return m_requestId; }
146 template <typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) {
148 m_requestIdHasBeenSet = true;
149 m_requestId = std::forward<RequestIdT>(value);
150 }
151 template <typename RequestIdT = Aws::String>
153 SetRequestId(std::forward<RequestIdT>(value));
154 return *this;
155 }
157 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
158
159 private:
160 Aws::String m_certificateProviderName;
161
162 Aws::String m_certificateProviderArn;
163
164 Aws::String m_lambdaFunctionArn;
165
166 Aws::Vector<CertificateProviderOperation> m_accountDefaultForOperations;
167
168 Aws::Utils::DateTime m_creationDate{};
169
170 Aws::Utils::DateTime m_lastModifiedDate{};
171
172 Aws::String m_requestId;
173 Aws::Http::HttpResponseCode m_HttpResponseCode;
174 bool m_certificateProviderNameHasBeenSet = false;
175 bool m_certificateProviderArnHasBeenSet = false;
176 bool m_lambdaFunctionArnHasBeenSet = false;
177 bool m_accountDefaultForOperationsHasBeenSet = false;
178 bool m_creationDateHasBeenSet = false;
179 bool m_lastModifiedDateHasBeenSet = false;
180 bool m_requestIdHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace IoT
185} // namespace Aws
DescribeCertificateProviderResult & WithAccountDefaultForOperations(AccountDefaultForOperationsT &&value)
DescribeCertificateProviderResult & WithCertificateProviderName(CertificateProviderNameT &&value)
DescribeCertificateProviderResult & WithCertificateProviderArn(CertificateProviderArnT &&value)
void SetAccountDefaultForOperations(AccountDefaultForOperationsT &&value)
DescribeCertificateProviderResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeCertificateProviderResult & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
DescribeCertificateProviderResult & WithRequestId(RequestIdT &&value)
DescribeCertificateProviderResult & AddAccountDefaultForOperations(CertificateProviderOperation value)
AWS_IOT_API DescribeCertificateProviderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCertificateProviderResult & WithCreationDate(CreationDateT &&value)
const Aws::Vector< CertificateProviderOperation > & GetAccountDefaultForOperations() const
AWS_IOT_API DescribeCertificateProviderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue