7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mpa/MPA_EXPORTS.h>
10#include <aws/mpa/model/PolicyStatus.h>
11#include <aws/mpa/model/PolicyType.h>
49 template <
typename ArnT = Aws::String>
51 m_arnHasBeenSet =
true;
52 m_arn = std::forward<ArnT>(value);
54 template <
typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
67 template <
typename PolicyArnT = Aws::String>
69 m_policyArnHasBeenSet =
true;
70 m_policyArn = std::forward<PolicyArnT>(value);
72 template <
typename PolicyArnT = Aws::String>
86 m_versionIdHasBeenSet =
true;
102 m_policyTypeHasBeenSet =
true;
103 m_policyType = value;
118 m_isDefaultHasBeenSet =
true;
133 template <
typename NameT = Aws::String>
135 m_nameHasBeenSet =
true;
136 m_name = std::forward<NameT>(value);
138 template <
typename NameT = Aws::String>
140 SetName(std::forward<NameT>(value));
155 m_statusHasBeenSet =
true;
170 template <
typename CreationTimeT = Aws::Utils::DateTime>
172 m_creationTimeHasBeenSet =
true;
173 m_creationTime = std::forward<CreationTimeT>(value);
175 template <
typename CreationTimeT = Aws::Utils::DateTime>
188 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
190 m_lastUpdatedTimeHasBeenSet =
true;
191 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
193 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
208 bool m_isDefault{
false};
217 bool m_arnHasBeenSet =
false;
218 bool m_policyArnHasBeenSet =
false;
219 bool m_versionIdHasBeenSet =
false;
220 bool m_policyTypeHasBeenSet =
false;
221 bool m_isDefaultHasBeenSet =
false;
222 bool m_nameHasBeenSet =
false;
223 bool m_statusHasBeenSet =
false;
224 bool m_creationTimeHasBeenSet =
false;
225 bool m_lastUpdatedTimeHasBeenSet =
false;
PolicyVersionSummary & WithStatus(PolicyStatus value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetName(NameT &&value)
bool IsDefaultHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetStatus(PolicyStatus value)
PolicyVersionSummary & WithArn(ArnT &&value)
PolicyVersionSummary & WithPolicyType(PolicyType value)
bool GetIsDefault() const
bool PolicyArnHasBeenSet() const
const Aws::String & GetArn() const
PolicyVersionSummary & WithCreationTime(CreationTimeT &&value)
PolicyVersionSummary & WithVersionId(int value)
PolicyVersionSummary & WithIsDefault(bool value)
void SetArn(ArnT &&value)
bool VersionIdHasBeenSet() const
PolicyVersionSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool LastUpdatedTimeHasBeenSet() const
AWS_MPA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPolicyArn() const
void SetIsDefault(bool value)
PolicyStatus GetStatus() const
AWS_MPA_API PolicyVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
bool ArnHasBeenSet() const
PolicyType GetPolicyType() const
void SetVersionId(int value)
AWS_MPA_API PolicyVersionSummary()=default
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
PolicyVersionSummary & WithPolicyArn(PolicyArnT &&value)
AWS_MPA_API PolicyVersionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyType(PolicyType value)
void SetCreationTime(CreationTimeT &&value)
bool PolicyTypeHasBeenSet() const
const Aws::String & GetName() const
void SetPolicyArn(PolicyArnT &&value)
PolicyVersionSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue