7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
46 template<
typename PolicyNameT = Aws::String>
47 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
48 template<
typename PolicyNameT = Aws::String>
57 template<
typename PolicyArnT = Aws::String>
58 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
59 template<
typename PolicyArnT = Aws::String>
68 template<
typename PolicyDocumentT = Aws::String>
69 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
70 template<
typename PolicyDocumentT = Aws::String>
79 template<
typename DefaultVersionIdT = Aws::String>
80 void SetDefaultVersionId(DefaultVersionIdT&& value) { m_defaultVersionIdHasBeenSet =
true; m_defaultVersionId = std::forward<DefaultVersionIdT>(value); }
81 template<
typename DefaultVersionIdT = Aws::String>
90 template<
typename CreationDateT = Aws::Utils::DateTime>
91 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
92 template<
typename CreationDateT = Aws::Utils::DateTime>
101 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
102 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
103 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
112 template<
typename GenerationIdT = Aws::String>
113 void SetGenerationId(GenerationIdT&& value) { m_generationIdHasBeenSet =
true; m_generationId = std::forward<GenerationIdT>(value); }
114 template<
typename GenerationIdT = Aws::String>
121 template<
typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
123 template<
typename RequestIdT = Aws::String>
129 bool m_policyNameHasBeenSet =
false;
132 bool m_policyArnHasBeenSet =
false;
135 bool m_policyDocumentHasBeenSet =
false;
138 bool m_defaultVersionIdHasBeenSet =
false;
141 bool m_creationDateHasBeenSet =
false;
144 bool m_lastModifiedDateHasBeenSet =
false;
147 bool m_generationIdHasBeenSet =
false;
150 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_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