7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/EksLabelSelector.h>
21namespace resiliencehubv2 {
41 template <
typename ClusterArnT = Aws::String>
43 m_clusterArnHasBeenSet =
true;
44 m_clusterArn = std::forward<ClusterArnT>(value);
46 template <
typename ClusterArnT = Aws::String>
59 template <
typename NamespacesT = Aws::Vector<Aws::String>>
61 m_namespacesHasBeenSet =
true;
62 m_namespaces = std::forward<NamespacesT>(value);
64 template <
typename NamespacesT = Aws::Vector<Aws::String>>
69 template <
typename NamespacesT = Aws::String>
71 m_namespacesHasBeenSet =
true;
72 m_namespaces.emplace_back(std::forward<NamespacesT>(value));
85 template <
typename LabelSelectorT = EksLabelSelector>
87 m_labelSelectorHasBeenSet =
true;
88 m_labelSelector = std::forward<LabelSelectorT>(value);
90 template <
typename LabelSelectorT = EksLabelSelector>
102 bool m_clusterArnHasBeenSet =
false;
103 bool m_namespacesHasBeenSet =
false;
104 bool m_labelSelectorHasBeenSet =
false;
AWS_RESILIENCEHUBV2_API EksSource()=default
EksSource & WithNamespaces(NamespacesT &&value)
bool ClusterArnHasBeenSet() const
const Aws::String & GetClusterArn() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API EksSource(Aws::Utils::Json::JsonView jsonValue)
bool NamespacesHasBeenSet() const
EksSource & AddNamespaces(NamespacesT &&value)
const Aws::Vector< Aws::String > & GetNamespaces() const
void SetClusterArn(ClusterArnT &&value)
void SetLabelSelector(LabelSelectorT &&value)
EksSource & WithClusterArn(ClusterArnT &&value)
bool LabelSelectorHasBeenSet() const
EksSource & WithLabelSelector(LabelSelectorT &&value)
AWS_RESILIENCEHUBV2_API EksSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespaces(NamespacesT &&value)
const EksLabelSelector & GetLabelSelector() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue