7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/ResourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/accessanalyzer/model/FindingStatus.h>
25namespace AccessAnalyzer
52 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
113 inline void SetIsPublic(
bool value) { m_isPublicHasBeenSet =
true; m_isPublic = value; }
169 inline void SetResourceOwnerAccount(
const char* value) { m_resourceOwnerAccountHasBeenSet =
true; m_resourceOwnerAccount.assign(value); }
183 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
191 bool m_resourceArnHasBeenSet =
false;
194 bool m_resourceTypeHasBeenSet =
false;
197 bool m_createdAtHasBeenSet =
false;
200 bool m_analyzedAtHasBeenSet =
false;
203 bool m_updatedAtHasBeenSet =
false;
206 bool m_isPublicHasBeenSet =
false;
209 bool m_actionsHasBeenSet =
false;
212 bool m_sharedViaHasBeenSet =
false;
215 bool m_statusHasBeenSet =
false;
218 bool m_resourceOwnerAccountHasBeenSet =
false;
221 bool m_errorHasBeenSet =
false;
AnalyzedResource & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetResourceOwnerAccount(Aws::String &&value)
void SetAnalyzedAt(Aws::Utils::DateTime &&value)
AnalyzedResource & AddSharedVia(Aws::String &&value)
void SetStatus(const FindingStatus &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AnalyzedResource & WithResourceArn(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_ACCESSANALYZER_API AnalyzedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(Aws::String &&value)
void SetResourceArn(const char *value)
AnalyzedResource & WithStatus(FindingStatus &&value)
AnalyzedResource & WithError(const char *value)
AnalyzedResource & WithResourceType(const ResourceType &value)
AnalyzedResource & WithResourceOwnerAccount(const Aws::String &value)
AnalyzedResource & WithError(const Aws::String &value)
void SetError(const char *value)
const Aws::String & GetResourceOwnerAccount() const
AnalyzedResource & WithAnalyzedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AnalyzedResource & WithResourceType(ResourceType &&value)
bool UpdatedAtHasBeenSet() const
void SetSharedVia(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetActions() const
AnalyzedResource & AddActions(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ErrorHasBeenSet() const
void SetError(const Aws::String &value)
AnalyzedResource & WithSharedVia(const Aws::Vector< Aws::String > &value)
void SetError(Aws::String &&value)
bool ResourceOwnerAccountHasBeenSet() const
bool SharedViaHasBeenSet() const
const FindingStatus & GetStatus() const
void SetAnalyzedAt(const Aws::Utils::DateTime &value)
AWS_ACCESSANALYZER_API AnalyzedResource(Aws::Utils::Json::JsonView jsonValue)
AnalyzedResource & WithUpdatedAt(const Aws::Utils::DateTime &value)
bool ResourceArnHasBeenSet() const
void SetIsPublic(bool value)
void SetActions(const Aws::Vector< Aws::String > &value)
void SetActions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetResourceArn() const
AnalyzedResource & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetAnalyzedAt() const
bool StatusHasBeenSet() const
const Aws::Vector< Aws::String > & GetSharedVia() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetResourceOwnerAccount(const char *value)
bool ActionsHasBeenSet() const
AnalyzedResource & WithResourceArn(const char *value)
void SetResourceType(ResourceType &&value)
bool ResourceTypeHasBeenSet() const
void SetSharedVia(const Aws::Vector< Aws::String > &value)
bool AnalyzedAtHasBeenSet() const
AnalyzedResource & WithResourceArn(Aws::String &&value)
AnalyzedResource & WithSharedVia(Aws::Vector< Aws::String > &&value)
AnalyzedResource & WithUpdatedAt(Aws::Utils::DateTime &&value)
AnalyzedResource & WithError(Aws::String &&value)
void SetResourceOwnerAccount(const Aws::String &value)
bool IsPublicHasBeenSet() const
AnalyzedResource & AddActions(const Aws::String &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceType & GetResourceType() const
AnalyzedResource & WithIsPublic(bool value)
AnalyzedResource & AddSharedVia(const Aws::String &value)
AnalyzedResource & WithAnalyzedAt(const Aws::Utils::DateTime &value)
AnalyzedResource & WithResourceOwnerAccount(Aws::String &&value)
void SetResourceType(const ResourceType &value)
AnalyzedResource & WithActions(Aws::Vector< Aws::String > &&value)
AnalyzedResource & WithResourceOwnerAccount(const char *value)
AnalyzedResource & AddActions(const char *value)
bool CreatedAtHasBeenSet() const
AnalyzedResource & WithStatus(const FindingStatus &value)
AnalyzedResource & WithActions(const Aws::Vector< Aws::String > &value)
const Aws::String & GetError() const
void SetStatus(FindingStatus &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_ACCESSANALYZER_API AnalyzedResource()
AnalyzedResource & AddSharedVia(const char *value)
void SetResourceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue