7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class 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 PolicyDocumentT = Aws::String>
60 m_policyDocumentHasBeenSet =
true;
61 m_policyDocument = std::forward<PolicyDocumentT>(value);
63 template <
typename PolicyDocumentT = Aws::String>
75 template <
typename PolicyVersionIdT = Aws::String>
77 m_policyVersionIdHasBeenSet =
true;
78 m_policyVersionId = std::forward<PolicyVersionIdT>(value);
80 template <
typename PolicyVersionIdT = Aws::String>
93 m_isDefaultVersionHasBeenSet =
true;
94 m_isDefaultVersion = value;
105 template <
typename RequestIdT = Aws::String>
107 m_requestIdHasBeenSet =
true;
108 m_requestId = std::forward<RequestIdT>(value);
110 template <
typename RequestIdT = Aws::String>
125 bool m_isDefaultVersion{
false};
129 bool m_policyArnHasBeenSet =
false;
130 bool m_policyDocumentHasBeenSet =
false;
131 bool m_policyVersionIdHasBeenSet =
false;
132 bool m_isDefaultVersionHasBeenSet =
false;
133 bool m_requestIdHasBeenSet =
false;
CreatePolicyVersionResult & WithPolicyArn(PolicyArnT &&value)
CreatePolicyVersionResult & WithIsDefaultVersion(bool value)
const Aws::String & GetRequestId() const
void SetIsDefaultVersion(bool value)
void SetPolicyVersionId(PolicyVersionIdT &&value)
bool GetIsDefaultVersion() const
const Aws::String & GetPolicyVersionId() const
AWS_IOT_API CreatePolicyVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_IOT_API CreatePolicyVersionResult()=default
CreatePolicyVersionResult & WithPolicyVersionId(PolicyVersionIdT &&value)
void SetRequestId(RequestIdT &&value)
CreatePolicyVersionResult & WithRequestId(RequestIdT &&value)
void SetPolicyArn(PolicyArnT &&value)
const Aws::String & GetPolicyDocument() const
const Aws::String & GetPolicyArn() const
CreatePolicyVersionResult & WithPolicyDocument(PolicyDocumentT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
AWS_IOT_API CreatePolicyVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue