7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/imagebuilder/model/LaunchPermissionConfiguration.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
115 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
136 bool m_nameHasBeenSet =
false;
139 bool m_descriptionHasBeenSet =
false;
142 bool m_targetAccountIdsHasBeenSet =
false;
145 bool m_amiTagsHasBeenSet =
false;
148 bool m_kmsKeyIdHasBeenSet =
false;
151 bool m_launchPermissionHasBeenSet =
false;
AmiDistributionConfiguration & AddAmiTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const Aws::String &value)
AmiDistributionConfiguration & WithDescription(const char *value)
const Aws::Vector< Aws::String > & GetTargetAccountIds() const
AWS_IMAGEBUILDER_API AmiDistributionConfiguration()
AWS_IMAGEBUILDER_API AmiDistributionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AmiDistributionConfiguration & AddAmiTags(const char *key, const char *value)
AmiDistributionConfiguration & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetAmiTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargetAccountIds(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAmiTags() const
AmiDistributionConfiguration & WithTargetAccountIds(Aws::Vector< Aws::String > &&value)
void SetDescription(Aws::String &&value)
AmiDistributionConfiguration & AddAmiTags(Aws::String &&key, Aws::String &&value)
AmiDistributionConfiguration & WithKmsKeyId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetKmsKeyId(Aws::String &&value)
AmiDistributionConfiguration & WithName(const char *value)
AmiDistributionConfiguration & AddTargetAccountIds(const Aws::String &value)
const LaunchPermissionConfiguration & GetLaunchPermission() const
AmiDistributionConfiguration & WithLaunchPermission(const LaunchPermissionConfiguration &value)
AmiDistributionConfiguration & WithAmiTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API AmiDistributionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AmiDistributionConfiguration & WithLaunchPermission(LaunchPermissionConfiguration &&value)
void SetKmsKeyId(const char *value)
AmiDistributionConfiguration & WithAmiTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetKmsKeyId() const
AmiDistributionConfiguration & AddAmiTags(Aws::String &&key, const Aws::String &value)
bool NameHasBeenSet() const
AmiDistributionConfiguration & WithKmsKeyId(const char *value)
bool DescriptionHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAmiTags(Aws::Map< Aws::String, Aws::String > &&value)
AmiDistributionConfiguration & WithKmsKeyId(Aws::String &&value)
AmiDistributionConfiguration & AddAmiTags(const char *key, Aws::String &&value)
AmiDistributionConfiguration & WithTargetAccountIds(const Aws::Vector< Aws::String > &value)
bool TargetAccountIdsHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
void SetName(const Aws::String &value)
bool LaunchPermissionHasBeenSet() const
AmiDistributionConfiguration & AddTargetAccountIds(Aws::String &&value)
AmiDistributionConfiguration & AddAmiTags(Aws::String &&key, const char *value)
AmiDistributionConfiguration & WithDescription(const Aws::String &value)
AmiDistributionConfiguration & WithName(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
AmiDistributionConfiguration & AddTargetAccountIds(const char *value)
AmiDistributionConfiguration & WithName(Aws::String &&value)
AmiDistributionConfiguration & AddAmiTags(const Aws::String &key, const Aws::String &value)
void SetLaunchPermission(const LaunchPermissionConfiguration &value)
void SetLaunchPermission(LaunchPermissionConfiguration &&value)
void SetTargetAccountIds(const Aws::Vector< Aws::String > &value)
bool AmiTagsHasBeenSet() const
void SetName(const char *value)
void SetDescription(const char *value)
void SetName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue