7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/JobStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AccessAnalyzer {
47 template <
typename JobIdT = Aws::String>
49 m_jobIdHasBeenSet =
true;
50 m_jobId = std::forward<JobIdT>(value);
52 template <
typename JobIdT = Aws::String>
54 SetJobId(std::forward<JobIdT>(value));
66 template <
typename PrincipalArnT = Aws::String>
68 m_principalArnHasBeenSet =
true;
69 m_principalArn = std::forward<PrincipalArnT>(value);
71 template <
typename PrincipalArnT = Aws::String>
85 m_statusHasBeenSet =
true;
100 template <
typename StartedOnT = Aws::Utils::DateTime>
102 m_startedOnHasBeenSet =
true;
103 m_startedOn = std::forward<StartedOnT>(value);
105 template <
typename StartedOnT = Aws::Utils::DateTime>
118 template <
typename CompletedOnT = Aws::Utils::DateTime>
120 m_completedOnHasBeenSet =
true;
121 m_completedOn = std::forward<CompletedOnT>(value);
123 template <
typename CompletedOnT = Aws::Utils::DateTime>
139 bool m_jobIdHasBeenSet =
false;
140 bool m_principalArnHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
142 bool m_startedOnHasBeenSet =
false;
143 bool m_completedOnHasBeenSet =
false;
PolicyGeneration & WithJobId(JobIdT &&value)
bool CompletedOnHasBeenSet() const
void SetJobId(JobIdT &&value)
JobStatus GetStatus() const
void SetPrincipalArn(PrincipalArnT &&value)
const Aws::Utils::DateTime & GetCompletedOn() const
void SetStartedOn(StartedOnT &&value)
AWS_ACCESSANALYZER_API PolicyGeneration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(JobStatus value)
PolicyGeneration & WithStatus(JobStatus value)
const Aws::String & GetJobId() const
bool StartedOnHasBeenSet() const
bool JobIdHasBeenSet() const
void SetCompletedOn(CompletedOnT &&value)
bool StatusHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartedOn() const
PolicyGeneration & WithStartedOn(StartedOnT &&value)
PolicyGeneration & WithCompletedOn(CompletedOnT &&value)
const Aws::String & GetPrincipalArn() const
bool PrincipalArnHasBeenSet() const
AWS_ACCESSANALYZER_API PolicyGeneration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API PolicyGeneration()=default
PolicyGeneration & WithPrincipalArn(PrincipalArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue