/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A distribution configuration.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline DistributionConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline DistributionConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the distribution configuration.
*/ inline DistributionConfiguration& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the distribution configuration.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the distribution configuration.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the distribution configuration.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the distribution configuration.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the distribution configuration.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the distribution configuration.
*/ inline DistributionConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the distribution configuration.
*/ inline DistributionConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the distribution configuration.
*/ inline DistributionConfiguration& WithName(const char* value) { SetName(value); return *this;} /** *The description of the distribution configuration.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the distribution configuration.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the distribution configuration.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the distribution configuration.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the distribution configuration.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the distribution configuration.
*/ inline DistributionConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the distribution configuration.
*/ inline DistributionConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the distribution configuration.
*/ inline DistributionConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline const Aws::VectorThe distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline bool DistributionsHasBeenSet() const { return m_distributionsHasBeenSet; } /** *The distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline void SetDistributions(const Aws::VectorThe distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline void SetDistributions(Aws::VectorThe distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline DistributionConfiguration& WithDistributions(const Aws::VectorThe distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline DistributionConfiguration& WithDistributions(Aws::VectorThe distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline DistributionConfiguration& AddDistributions(const Distribution& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(value); return *this; } /** *The distribution objects that apply Region-specific settings for the * deployment of the image to targeted Regions.
*/ inline DistributionConfiguration& AddDistributions(Distribution&& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(std::move(value)); return *this; } /** *The maximum duration in minutes for this distribution configuration.
*/ inline int GetTimeoutMinutes() const{ return m_timeoutMinutes; } /** *The maximum duration in minutes for this distribution configuration.
*/ inline bool TimeoutMinutesHasBeenSet() const { return m_timeoutMinutesHasBeenSet; } /** *The maximum duration in minutes for this distribution configuration.
*/ inline void SetTimeoutMinutes(int value) { m_timeoutMinutesHasBeenSet = true; m_timeoutMinutes = value; } /** *The maximum duration in minutes for this distribution configuration.
*/ inline DistributionConfiguration& WithTimeoutMinutes(int value) { SetTimeoutMinutes(value); return *this;} /** *The date on which this distribution configuration was created.
*/ inline const Aws::String& GetDateCreated() const{ return m_dateCreated; } /** *The date on which this distribution configuration was created.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date on which this distribution configuration was created.
*/ inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date on which this distribution configuration was created.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date on which this distribution configuration was created.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The date on which this distribution configuration was created.
*/ inline DistributionConfiguration& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The date on which this distribution configuration was created.
*/ inline DistributionConfiguration& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date on which this distribution configuration was created.
*/ inline DistributionConfiguration& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} /** *The date on which this distribution configuration was last updated.
*/ inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; } /** *The date on which this distribution configuration was last updated.
*/ inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; } /** *The date on which this distribution configuration was last updated.
*/ inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; } /** *The date on which this distribution configuration was last updated.
*/ inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); } /** *The date on which this distribution configuration was last updated.
*/ inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); } /** *The date on which this distribution configuration was last updated.
*/ inline DistributionConfiguration& WithDateUpdated(const Aws::String& value) { SetDateUpdated(value); return *this;} /** *The date on which this distribution configuration was last updated.
*/ inline DistributionConfiguration& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;} /** *The date on which this distribution configuration was last updated.
*/ inline DistributionConfiguration& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;} /** *The tags of the distribution configuration.
*/ inline const Aws::MapThe tags of the distribution configuration.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags of the distribution configuration.
*/ inline void SetTags(const Aws::MapThe tags of the distribution configuration.
*/ inline void SetTags(Aws::MapThe tags of the distribution configuration.
*/ inline DistributionConfiguration& WithTags(const Aws::MapThe tags of the distribution configuration.
*/ inline DistributionConfiguration& WithTags(Aws::MapThe tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the distribution configuration.
*/ inline DistributionConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector