7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/guardduty/model/Owner.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/model/DefaultServerSideEncryption.h>
13#include <aws/guardduty/model/PublicAccess.h>
14#include <aws/guardduty/model/Tag.h>
15#include <aws/guardduty/model/S3ObjectDetail.h>
54 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
55 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
69 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
107 inline void SetOwner(
const Owner& value) { m_ownerHasBeenSet =
true; m_owner = value; }
108 inline void SetOwner(
Owner&& value) { m_ownerHasBeenSet =
true; m_owner = std::move(value); }
167 bool m_arnHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
173 bool m_typeHasBeenSet =
false;
176 bool m_createdAtHasBeenSet =
false;
179 bool m_ownerHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
185 bool m_defaultServerSideEncryptionHasBeenSet =
false;
188 bool m_publicAccessHasBeenSet =
false;
191 bool m_s3ObjectDetailsHasBeenSet =
false;
S3BucketDetail & WithName(Aws::String &&value)
S3BucketDetail & WithCreatedAt(Aws::Utils::DateTime &&value)
S3BucketDetail & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetPublicAccess(const PublicAccess &value)
S3BucketDetail & WithName(const Aws::String &value)
void SetOwner(Owner &&value)
void SetArn(Aws::String &&value)
S3BucketDetail & WithPublicAccess(PublicAccess &&value)
void SetOwner(const Owner &value)
const Owner & GetOwner() const
bool DefaultServerSideEncryptionHasBeenSet() const
void SetName(const Aws::String &value)
S3BucketDetail & AddTags(const Tag &value)
AWS_GUARDDUTY_API S3BucketDetail()
bool ArnHasBeenSet() const
S3BucketDetail & WithOwner(Owner &&value)
bool TypeHasBeenSet() const
void SetS3ObjectDetails(Aws::Vector< S3ObjectDetail > &&value)
S3BucketDetail & WithType(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetName(Aws::String &&value)
S3BucketDetail & WithName(const char *value)
AWS_GUARDDUTY_API S3BucketDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetType(const Aws::String &value)
S3BucketDetail & AddS3ObjectDetails(S3ObjectDetail &&value)
S3BucketDetail & WithArn(Aws::String &&value)
void SetType(const char *value)
S3BucketDetail & WithPublicAccess(const PublicAccess &value)
const PublicAccess & GetPublicAccess() const
void SetDefaultServerSideEncryption(const DefaultServerSideEncryption &value)
void SetName(const char *value)
bool PublicAccessHasBeenSet() const
void SetS3ObjectDetails(const Aws::Vector< S3ObjectDetail > &value)
S3BucketDetail & WithDefaultServerSideEncryption(const DefaultServerSideEncryption &value)
bool OwnerHasBeenSet() const
S3BucketDetail & WithDefaultServerSideEncryption(DefaultServerSideEncryption &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool CreatedAtHasBeenSet() const
S3BucketDetail & WithArn(const char *value)
S3BucketDetail & WithType(const Aws::String &value)
S3BucketDetail & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< S3ObjectDetail > & GetS3ObjectDetails() const
void SetArn(const char *value)
const Aws::String & GetName() const
AWS_GUARDDUTY_API S3BucketDetail(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultServerSideEncryption(DefaultServerSideEncryption &&value)
S3BucketDetail & WithTags(const Aws::Vector< Tag > &value)
const DefaultServerSideEncryption & GetDefaultServerSideEncryption() const
S3BucketDetail & WithS3ObjectDetails(Aws::Vector< S3ObjectDetail > &&value)
const Aws::String & GetType() const
void SetTags(const Aws::Vector< Tag > &value)
S3BucketDetail & AddTags(Tag &&value)
S3BucketDetail & WithS3ObjectDetails(const Aws::Vector< S3ObjectDetail > &value)
S3BucketDetail & WithType(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool S3ObjectDetailsHasBeenSet() const
S3BucketDetail & WithOwner(const Owner &value)
bool NameHasBeenSet() const
S3BucketDetail & AddS3ObjectDetails(const S3ObjectDetail &value)
bool TagsHasBeenSet() const
const Aws::String & GetArn() const
void SetArn(const Aws::String &value)
void SetPublicAccess(PublicAccess &&value)
S3BucketDetail & WithArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&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