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 PolicyNameT = Aws::String>
43 m_policyNameHasBeenSet =
true;
44 m_policyName = std::forward<PolicyNameT>(value);
46 template <
typename PolicyNameT = Aws::String>
58 template <
typename PolicyArnT = Aws::String>
60 m_policyArnHasBeenSet =
true;
61 m_policyArn = std::forward<PolicyArnT>(value);
63 template <
typename PolicyArnT = 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 DefaultVersionIdT = Aws::String>
94 m_defaultVersionIdHasBeenSet =
true;
95 m_defaultVersionId = std::forward<DefaultVersionIdT>(value);
97 template <
typename DefaultVersionIdT = Aws::String>
109 template <
typename CreationDateT = Aws::Utils::DateTime>
111 m_creationDateHasBeenSet =
true;
112 m_creationDate = std::forward<CreationDateT>(value);
114 template <
typename CreationDateT = Aws::Utils::DateTime>
126 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
128 m_lastModifiedDateHasBeenSet =
true;
129 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
131 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
143 template <
typename GenerationIdT = Aws::String>
145 m_generationIdHasBeenSet =
true;
146 m_generationId = std::forward<GenerationIdT>(value);
148 template <
typename GenerationIdT = Aws::String>
158 template <
typename RequestIdT = Aws::String>
160 m_requestIdHasBeenSet =
true;
161 m_requestId = std::forward<RequestIdT>(value);
163 template <
typename RequestIdT = Aws::String>
188 bool m_policyNameHasBeenSet =
false;
189 bool m_policyArnHasBeenSet =
false;
190 bool m_policyDocumentHasBeenSet =
false;
191 bool m_defaultVersionIdHasBeenSet =
false;
192 bool m_creationDateHasBeenSet =
false;
193 bool m_lastModifiedDateHasBeenSet =
false;
194 bool m_generationIdHasBeenSet =
false;
195 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDefaultVersionId() const
GetPolicyResult & WithCreationDate(CreationDateT &&value)
GetPolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
void SetCreationDate(CreationDateT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
GetPolicyResult & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetPolicyName() const
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_IOT_API GetPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API GetPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyResult & WithPolicyName(PolicyNameT &&value)
GetPolicyResult & WithRequestId(RequestIdT &&value)
void SetDefaultVersionId(DefaultVersionIdT &&value)
void SetPolicyArn(PolicyArnT &&value)
GetPolicyResult & WithDefaultVersionId(DefaultVersionIdT &&value)
GetPolicyResult & WithPolicyArn(PolicyArnT &&value)
void SetGenerationId(GenerationIdT &&value)
const Aws::String & GetPolicyArn() const
void SetPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyDocument() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_IOT_API GetPolicyResult()=default
const Aws::String & GetGenerationId() const
GetPolicyResult & WithGenerationId(GenerationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue