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>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename PolicyArnT = Aws::String>
65 m_policyArnHasBeenSet =
true;
66 m_policyArn = std::forward<PolicyArnT>(value);
68 template <
typename PolicyArnT = Aws::String>
82 m_versionIdHasBeenSet =
true;
98 m_policyTypeHasBeenSet =
true;
114 m_isDefaultHasBeenSet =
true;
129 template <
typename NameT = Aws::String>
131 m_nameHasBeenSet =
true;
132 m_name = std::forward<NameT>(value);
134 template <
typename NameT = Aws::String>
136 SetName(std::forward<NameT>(value));
151 m_statusHasBeenSet =
true;
166 template <
typename CreationTimeT = Aws::Utils::DateTime>
168 m_creationTimeHasBeenSet =
true;
169 m_creationTime = std::forward<CreationTimeT>(value);
171 template <
typename CreationTimeT = Aws::Utils::DateTime>
184 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
186 m_lastUpdatedTimeHasBeenSet =
true;
187 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
189 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
204 bool m_isDefault{
false};
213 bool m_arnHasBeenSet =
false;
214 bool m_policyArnHasBeenSet =
false;
215 bool m_versionIdHasBeenSet =
false;
216 bool m_policyTypeHasBeenSet =
false;
217 bool m_isDefaultHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
219 bool m_statusHasBeenSet =
false;
220 bool m_creationTimeHasBeenSet =
false;
221 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