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>
54 template<
typename AddonNameT = Aws::String>
55 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet =
true; m_addonName = std::forward<AddonNameT>(value); }
56 template<
typename AddonNameT = Aws::String>
66 template<
typename ClusterNameT = Aws::String>
67 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
68 template<
typename ClusterNameT = Aws::String>
88 template<
typename AddonVersionT = Aws::String>
89 void SetAddonVersion(AddonVersionT&& value) { m_addonVersionHasBeenSet =
true; m_addonVersion = std::forward<AddonVersionT>(value); }
90 template<
typename AddonVersionT = Aws::String>
100 template<
typename HealthT = AddonHealth>
101 void SetHealth(HealthT&& value) { m_healthHasBeenSet =
true; m_health = std::forward<HealthT>(value); }
102 template<
typename HealthT = AddonHealth>
112 template<
typename AddonArnT = Aws::String>
113 void SetAddonArn(AddonArnT&& value) { m_addonArnHasBeenSet =
true; m_addonArn = std::forward<AddonArnT>(value); }
114 template<
typename AddonArnT = Aws::String>
124 template<
typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
126 template<
typename CreatedAtT = Aws::Utils::DateTime>
136 template<
typename ModifiedAtT = Aws::Utils::DateTime>
137 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
138 template<
typename ModifiedAtT = Aws::Utils::DateTime>
149 template<
typename ServiceAccountRoleArnT = Aws::String>
150 void SetServiceAccountRoleArn(ServiceAccountRoleArnT&& value) { m_serviceAccountRoleArnHasBeenSet =
true; m_serviceAccountRoleArn = std::forward<ServiceAccountRoleArnT>(value); }
151 template<
typename ServiceAccountRoleArnT = Aws::String>
163 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
165 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
169 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
179 template<
typename PublisherT = Aws::String>
180 void SetPublisher(PublisherT&& value) { m_publisherHasBeenSet =
true; m_publisher = std::forward<PublisherT>(value); }
181 template<
typename PublisherT = Aws::String>
191 template<
typename OwnerT = Aws::String>
192 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
193 template<
typename OwnerT = Aws::String>
204 template<
typename MarketplaceInformationT = MarketplaceInformation>
205 void SetMarketplaceInformation(MarketplaceInformationT&& value) { m_marketplaceInformationHasBeenSet =
true; m_marketplaceInformation = std::forward<MarketplaceInformationT>(value); }
206 template<
typename MarketplaceInformationT = MarketplaceInformation>
216 template<
typename ConfigurationValuesT = Aws::String>
217 void SetConfigurationValues(ConfigurationValuesT&& value) { m_configurationValuesHasBeenSet =
true; m_configurationValues = std::forward<ConfigurationValuesT>(value); }
218 template<
typename ConfigurationValuesT = Aws::String>
233 template<
typename PodIdentityAssociationsT = Aws::Vector<Aws::String>>
234 void SetPodIdentityAssociations(PodIdentityAssociationsT&& value) { m_podIdentityAssociationsHasBeenSet =
true; m_podIdentityAssociations = std::forward<PodIdentityAssociationsT>(value); }
235 template<
typename PodIdentityAssociationsT = Aws::Vector<Aws::String>>
237 template<
typename PodIdentityAssociationsT = Aws::String>
238 Addon&
AddPodIdentityAssociations(PodIdentityAssociationsT&& value) { m_podIdentityAssociationsHasBeenSet =
true; m_podIdentityAssociations.emplace_back(std::forward<PodIdentityAssociationsT>(value));
return *
this; }
243 bool m_addonNameHasBeenSet =
false;
246 bool m_clusterNameHasBeenSet =
false;
249 bool m_statusHasBeenSet =
false;
252 bool m_addonVersionHasBeenSet =
false;
254 AddonHealth m_health;
255 bool m_healthHasBeenSet =
false;
258 bool m_addonArnHasBeenSet =
false;
261 bool m_createdAtHasBeenSet =
false;
264 bool m_modifiedAtHasBeenSet =
false;
267 bool m_serviceAccountRoleArnHasBeenSet =
false;
270 bool m_tagsHasBeenSet =
false;
273 bool m_publisherHasBeenSet =
false;
276 bool m_ownerHasBeenSet =
false;
278 MarketplaceInformation m_marketplaceInformation;
279 bool m_marketplaceInformationHasBeenSet =
false;
282 bool m_configurationValuesHasBeenSet =
false;
285 bool m_podIdentityAssociationsHasBeenSet =
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
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)
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
bool ModifiedAtHasBeenSet() const
bool ServiceAccountRoleArnHasBeenSet() const
void SetMarketplaceInformation(MarketplaceInformationT &&value)
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