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 PolicyArnT = Aws::String>
47 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
48 template<
typename PolicyArnT = Aws::String>
57 template<
typename PolicyNameT = Aws::String>
58 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
59 template<
typename PolicyNameT = 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 PolicyVersionIdT = Aws::String>
80 void SetPolicyVersionId(PolicyVersionIdT&& value) { m_policyVersionIdHasBeenSet =
true; m_policyVersionId = std::forward<PolicyVersionIdT>(value); }
81 template<
typename PolicyVersionIdT = Aws::String>
90 inline void SetIsDefaultVersion(
bool value) { m_isDefaultVersionHasBeenSet =
true; m_isDefaultVersion = value; }
99 template<
typename CreationDateT = Aws::Utils::DateTime>
100 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
101 template<
typename CreationDateT = Aws::Utils::DateTime>
110 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
111 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
112 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
121 template<
typename GenerationIdT = Aws::String>
122 void SetGenerationId(GenerationIdT&& value) { m_generationIdHasBeenSet =
true; m_generationId = std::forward<GenerationIdT>(value); }
123 template<
typename GenerationIdT = Aws::String>
130 template<
typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
132 template<
typename RequestIdT = Aws::String>
138 bool m_policyArnHasBeenSet =
false;
141 bool m_policyNameHasBeenSet =
false;
144 bool m_policyDocumentHasBeenSet =
false;
147 bool m_policyVersionIdHasBeenSet =
false;
149 bool m_isDefaultVersion{
false};
150 bool m_isDefaultVersionHasBeenSet =
false;
153 bool m_creationDateHasBeenSet =
false;
156 bool m_lastModifiedDateHasBeenSet =
false;
159 bool m_generationIdHasBeenSet =
false;
162 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)
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