AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EksSource.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ResilienceHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_RESILIENCEHUB_API EksSource() = default;
37 AWS_RESILIENCEHUB_API EksSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_RESILIENCEHUB_API EksSource& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const Aws::String& GetEksClusterArn() const { return m_eksClusterArn; }
53 inline bool EksClusterArnHasBeenSet() const { return m_eksClusterArnHasBeenSet; }
54 template<typename EksClusterArnT = Aws::String>
55 void SetEksClusterArn(EksClusterArnT&& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = std::forward<EksClusterArnT>(value); }
56 template<typename EksClusterArnT = Aws::String>
57 EksSource& WithEksClusterArn(EksClusterArnT&& value) { SetEksClusterArn(std::forward<EksClusterArnT>(value)); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetNamespaces() const { return m_namespaces; }
66 inline bool NamespacesHasBeenSet() const { return m_namespacesHasBeenSet; }
67 template<typename NamespacesT = Aws::Vector<Aws::String>>
68 void SetNamespaces(NamespacesT&& value) { m_namespacesHasBeenSet = true; m_namespaces = std::forward<NamespacesT>(value); }
69 template<typename NamespacesT = Aws::Vector<Aws::String>>
70 EksSource& WithNamespaces(NamespacesT&& value) { SetNamespaces(std::forward<NamespacesT>(value)); return *this;}
71 template<typename NamespacesT = Aws::String>
72 EksSource& AddNamespaces(NamespacesT&& value) { m_namespacesHasBeenSet = true; m_namespaces.emplace_back(std::forward<NamespacesT>(value)); return *this; }
74 private:
75
76 Aws::String m_eksClusterArn;
77 bool m_eksClusterArnHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_namespaces;
80 bool m_namespacesHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ResilienceHub
85} // namespace Aws
EksSource & AddNamespaces(NamespacesT &&value)
Definition EksSource.h:72
const Aws::Vector< Aws::String > & GetNamespaces() const
Definition EksSource.h:65
AWS_RESILIENCEHUB_API EksSource(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API EksSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespaces(NamespacesT &&value)
Definition EksSource.h:68
EksSource & WithEksClusterArn(EksClusterArnT &&value)
Definition EksSource.h:57
EksSource & WithNamespaces(NamespacesT &&value)
Definition EksSource.h:70
const Aws::String & GetEksClusterArn() const
Definition EksSource.h:52
void SetEksClusterArn(EksClusterArnT &&value)
Definition EksSource.h:55
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUB_API EksSource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue