7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/model/AddonStatus.h>
10#include <aws/eks/model/AddonHealth.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/eks/model/MarketplaceInformation.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/eks/model/AddonNamespaceConfigResponse.h>
55 template<
typename AddonNameT = Aws::String>
56 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet =
true; m_addonName = std::forward<AddonNameT>(value); }
57 template<
typename AddonNameT = Aws::String>
67 template<
typename ClusterNameT = Aws::String>
68 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
69 template<
typename ClusterNameT = Aws::String>
89 template<
typename AddonVersionT = Aws::String>
90 void SetAddonVersion(AddonVersionT&& value) { m_addonVersionHasBeenSet =
true; m_addonVersion = std::forward<AddonVersionT>(value); }
91 template<
typename AddonVersionT = Aws::String>
101 template<
typename HealthT = AddonHealth>
102 void SetHealth(HealthT&& value) { m_healthHasBeenSet =
true; m_health = std::forward<HealthT>(value); }
103 template<
typename HealthT = AddonHealth>
113 template<
typename AddonArnT = Aws::String>
114 void SetAddonArn(AddonArnT&& value) { m_addonArnHasBeenSet =
true; m_addonArn = std::forward<AddonArnT>(value); }
115 template<
typename AddonArnT = Aws::String>
125 template<
typename CreatedAtT = Aws::Utils::DateTime>
126 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
127 template<
typename CreatedAtT = Aws::Utils::DateTime>
137 template<
typename ModifiedAtT = Aws::Utils::DateTime>
138 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
139 template<
typename ModifiedAtT = Aws::Utils::DateTime>
150 template<
typename ServiceAccountRoleArnT = Aws::String>
151 void SetServiceAccountRoleArn(ServiceAccountRoleArnT&& value) { m_serviceAccountRoleArnHasBeenSet =
true; m_serviceAccountRoleArn = std::forward<ServiceAccountRoleArnT>(value); }
152 template<
typename ServiceAccountRoleArnT = Aws::String>
164 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
166 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
170 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
180 template<
typename PublisherT = Aws::String>
181 void SetPublisher(PublisherT&& value) { m_publisherHasBeenSet =
true; m_publisher = std::forward<PublisherT>(value); }
182 template<
typename PublisherT = Aws::String>
192 template<
typename OwnerT = Aws::String>
193 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
194 template<
typename OwnerT = Aws::String>
205 template<
typename MarketplaceInformationT = MarketplaceInformation>
206 void SetMarketplaceInformation(MarketplaceInformationT&& value) { m_marketplaceInformationHasBeenSet =
true; m_marketplaceInformation = std::forward<MarketplaceInformationT>(value); }
207 template<
typename MarketplaceInformationT = MarketplaceInformation>
217 template<
typename ConfigurationValuesT = Aws::String>
218 void SetConfigurationValues(ConfigurationValuesT&& value) { m_configurationValuesHasBeenSet =
true; m_configurationValues = std::forward<ConfigurationValuesT>(value); }
219 template<
typename ConfigurationValuesT = Aws::String>
234 template<
typename PodIdentityAssociationsT = Aws::Vector<Aws::String>>
235 void SetPodIdentityAssociations(PodIdentityAssociationsT&& value) { m_podIdentityAssociationsHasBeenSet =
true; m_podIdentityAssociations = std::forward<PodIdentityAssociationsT>(value); }
236 template<
typename PodIdentityAssociationsT = Aws::Vector<Aws::String>>
238 template<
typename PodIdentityAssociationsT = Aws::String>
239 Addon&
AddPodIdentityAssociations(PodIdentityAssociationsT&& value) { m_podIdentityAssociationsHasBeenSet =
true; m_podIdentityAssociations.emplace_back(std::forward<PodIdentityAssociationsT>(value));
return *
this; }
249 template<
typename NamespaceConfigT = AddonNamespaceConfigResponse>
250 void SetNamespaceConfig(NamespaceConfigT&& value) { m_namespaceConfigHasBeenSet =
true; m_namespaceConfig = std::forward<NamespaceConfigT>(value); }
251 template<
typename NamespaceConfigT = AddonNamespaceConfigResponse>
257 bool m_addonNameHasBeenSet =
false;
260 bool m_clusterNameHasBeenSet =
false;
263 bool m_statusHasBeenSet =
false;
266 bool m_addonVersionHasBeenSet =
false;
268 AddonHealth m_health;
269 bool m_healthHasBeenSet =
false;
272 bool m_addonArnHasBeenSet =
false;
275 bool m_createdAtHasBeenSet =
false;
278 bool m_modifiedAtHasBeenSet =
false;
281 bool m_serviceAccountRoleArnHasBeenSet =
false;
284 bool m_tagsHasBeenSet =
false;
287 bool m_publisherHasBeenSet =
false;
290 bool m_ownerHasBeenSet =
false;
292 MarketplaceInformation m_marketplaceInformation;
293 bool m_marketplaceInformationHasBeenSet =
false;
296 bool m_configurationValuesHasBeenSet =
false;
299 bool m_podIdentityAssociationsHasBeenSet =
false;
301 AddonNamespaceConfigResponse m_namespaceConfig;
302 bool m_namespaceConfigHasBeenSet =
false;
void SetTags(TagsT &&value)
Addon & WithAddonName(AddonNameT &&value)
bool AddonVersionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_EKS_API Addon & operator=(Aws::Utils::Json::JsonView jsonValue)
Addon & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetAddonName() const
const Aws::String & GetOwner() const
const AddonHealth & GetHealth() const
Addon & WithPublisher(PublisherT &&value)
Addon & WithOwner(OwnerT &&value)
void SetModifiedAt(ModifiedAtT &&value)
bool OwnerHasBeenSet() const
const AddonNamespaceConfigResponse & GetNamespaceConfig() const
Addon & WithCreatedAt(CreatedAtT &&value)
Addon & AddPodIdentityAssociations(PodIdentityAssociationsT &&value)
bool PodIdentityAssociationsHasBeenSet() const
const Aws::String & GetClusterName() const
AddonStatus GetStatus() const
void SetAddonVersion(AddonVersionT &&value)
void SetClusterName(ClusterNameT &&value)
bool HealthHasBeenSet() const
Addon & WithStatus(AddonStatus value)
void SetCreatedAt(CreatedAtT &&value)
Addon & WithConfigurationValues(ConfigurationValuesT &&value)
void SetServiceAccountRoleArn(ServiceAccountRoleArnT &&value)
bool AddonNameHasBeenSet() const
Addon & WithServiceAccountRoleArn(ServiceAccountRoleArnT &&value)
void SetAddonArn(AddonArnT &&value)
Addon & WithTags(TagsT &&value)
bool StatusHasBeenSet() const
void SetPublisher(PublisherT &&value)
Addon & WithModifiedAt(ModifiedAtT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetAddonArn() const
const Aws::String & GetServiceAccountRoleArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetStatus(AddonStatus value)
Addon & WithNamespaceConfig(NamespaceConfigT &&value)
bool MarketplaceInformationHasBeenSet() const
bool PublisherHasBeenSet() const
void SetAddonName(AddonNameT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetAddonVersion() const
Addon & WithAddonArn(AddonArnT &&value)
bool ConfigurationValuesHasBeenSet() const
const MarketplaceInformation & GetMarketplaceInformation() const
void SetNamespaceConfig(NamespaceConfigT &&value)
bool ModifiedAtHasBeenSet() const
bool ServiceAccountRoleArnHasBeenSet() const
void SetMarketplaceInformation(MarketplaceInformationT &&value)
bool NamespaceConfigHasBeenSet() const
AWS_EKS_API Addon()=default
const Aws::Vector< Aws::String > & GetPodIdentityAssociations() const
void SetPodIdentityAssociations(PodIdentityAssociationsT &&value)
const Aws::String & GetPublisher() const
void SetHealth(HealthT &&value)
void SetConfigurationValues(ConfigurationValuesT &&value)
bool ClusterNameHasBeenSet() const
AWS_EKS_API Addon(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConfigurationValues() const
Addon & WithHealth(HealthT &&value)
Addon & WithClusterName(ClusterNameT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Addon & WithPodIdentityAssociations(PodIdentityAssociationsT &&value)
Addon & WithMarketplaceInformation(MarketplaceInformationT &&value)
void SetOwner(OwnerT &&value)
Addon & WithAddonVersion(AddonVersionT &&value)
bool AddonArnHasBeenSet() const
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