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/iot/IoT_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
41 template <
typename PolicyArnT = Aws::String>
43 m_policyArnHasBeenSet =
true;
44 m_policyArn = std::forward<PolicyArnT>(value);
46 template <
typename PolicyArnT = Aws::String>
58 template <
typename PolicyNameT = Aws::String>
60 m_policyNameHasBeenSet =
true;
61 m_policyName = std::forward<PolicyNameT>(value);
63 template <
typename PolicyNameT = Aws::String>
75 template <
typename PolicyDocumentT = Aws::String>
77 m_policyDocumentHasBeenSet =
true;
78 m_policyDocument = std::forward<PolicyDocumentT>(value);
80 template <
typename PolicyDocumentT = Aws::String>
92 template <
typename PolicyVersionIdT = Aws::String>
94 m_policyVersionIdHasBeenSet =
true;
95 m_policyVersionId = std::forward<PolicyVersionIdT>(value);
97 template <
typename PolicyVersionIdT = Aws::String>
110 m_isDefaultVersionHasBeenSet =
true;
111 m_isDefaultVersion = value;
124 template <
typename CreationDateT = Aws::Utils::DateTime>
126 m_creationDateHasBeenSet =
true;
127 m_creationDate = std::forward<CreationDateT>(value);
129 template <
typename CreationDateT = Aws::Utils::DateTime>
141 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
143 m_lastModifiedDateHasBeenSet =
true;
144 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
146 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
158 template <
typename GenerationIdT = Aws::String>
160 m_generationIdHasBeenSet =
true;
161 m_generationId = std::forward<GenerationIdT>(value);
163 template <
typename GenerationIdT = Aws::String>
173 template <
typename RequestIdT = Aws::String>
175 m_requestIdHasBeenSet =
true;
176 m_requestId = std::forward<RequestIdT>(value);
178 template <
typename RequestIdT = Aws::String>
195 bool m_isDefaultVersion{
false};
205 bool m_policyArnHasBeenSet =
false;
206 bool m_policyNameHasBeenSet =
false;
207 bool m_policyDocumentHasBeenSet =
false;
208 bool m_policyVersionIdHasBeenSet =
false;
209 bool m_isDefaultVersionHasBeenSet =
false;
210 bool m_creationDateHasBeenSet =
false;
211 bool m_lastModifiedDateHasBeenSet =
false;
212 bool m_generationIdHasBeenSet =
false;
213 bool m_requestIdHasBeenSet =
false;
GetPolicyVersionResult & WithPolicyArn(PolicyArnT &&value)
const Aws::String & GetPolicyName() const
void SetIsDefaultVersion(bool value)
void SetGenerationId(GenerationIdT &&value)
const Aws::String & GetPolicyArn() const
void SetPolicyDocument(PolicyDocumentT &&value)
AWS_IOT_API GetPolicyVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedDate() const
GetPolicyVersionResult & WithPolicyVersionId(PolicyVersionIdT &&value)
GetPolicyVersionResult & WithIsDefaultVersion(bool value)
AWS_IOT_API GetPolicyVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetGenerationId() const
GetPolicyVersionResult & WithPolicyName(PolicyNameT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
GetPolicyVersionResult & WithCreationDate(CreationDateT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetPolicyVersionId(PolicyVersionIdT &&value)
GetPolicyVersionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
GetPolicyVersionResult & WithGenerationId(GenerationIdT &&value)
GetPolicyVersionResult & WithLastModifiedDate(LastModifiedDateT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetPolicyVersionId() const
void SetPolicyName(PolicyNameT &&value)
void SetCreationDate(CreationDateT &&value)
void SetPolicyArn(PolicyArnT &&value)
AWS_IOT_API GetPolicyVersionResult()=default
bool GetIsDefaultVersion() const
GetPolicyVersionResult & WithPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetPolicyDocument() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue