AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEksClusterArn(const Aws::String& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = value; }
55 inline void SetEksClusterArn(Aws::String&& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = std::move(value); }
56 inline void SetEksClusterArn(const char* value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn.assign(value); }
57 inline EksSource& WithEksClusterArn(const Aws::String& value) { SetEksClusterArn(value); return *this;}
58 inline EksSource& WithEksClusterArn(Aws::String&& value) { SetEksClusterArn(std::move(value)); return *this;}
59 inline EksSource& WithEksClusterArn(const char* value) { SetEksClusterArn(value); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetNamespaces() const{ return m_namespaces; }
68 inline bool NamespacesHasBeenSet() const { return m_namespacesHasBeenSet; }
69 inline void SetNamespaces(const Aws::Vector<Aws::String>& value) { m_namespacesHasBeenSet = true; m_namespaces = value; }
70 inline void SetNamespaces(Aws::Vector<Aws::String>&& value) { m_namespacesHasBeenSet = true; m_namespaces = std::move(value); }
71 inline EksSource& WithNamespaces(const Aws::Vector<Aws::String>& value) { SetNamespaces(value); return *this;}
72 inline EksSource& WithNamespaces(Aws::Vector<Aws::String>&& value) { SetNamespaces(std::move(value)); return *this;}
73 inline EksSource& AddNamespaces(const Aws::String& value) { m_namespacesHasBeenSet = true; m_namespaces.push_back(value); return *this; }
74 inline EksSource& AddNamespaces(Aws::String&& value) { m_namespacesHasBeenSet = true; m_namespaces.push_back(std::move(value)); return *this; }
75 inline EksSource& AddNamespaces(const char* value) { m_namespacesHasBeenSet = true; m_namespaces.push_back(value); return *this; }
77 private:
78
79 Aws::String m_eksClusterArn;
80 bool m_eksClusterArnHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_namespaces;
83 bool m_namespacesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ResilienceHub
88} // namespace Aws
EksSource & WithEksClusterArn(const Aws::String &value)
Definition EksSource.h:57
EksSource & WithEksClusterArn(Aws::String &&value)
Definition EksSource.h:58
void SetEksClusterArn(Aws::String &&value)
Definition EksSource.h:55
void SetNamespaces(Aws::Vector< Aws::String > &&value)
Definition EksSource.h:70
void SetNamespaces(const Aws::Vector< Aws::String > &value)
Definition EksSource.h:69
const Aws::Vector< Aws::String > & GetNamespaces() const
Definition EksSource.h:67
AWS_RESILIENCEHUB_API EksSource(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API EksSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEksClusterArn(const Aws::String &value)
Definition EksSource.h:54
EksSource & AddNamespaces(const char *value)
Definition EksSource.h:75
EksSource & AddNamespaces(const Aws::String &value)
Definition EksSource.h:73
void SetEksClusterArn(const char *value)
Definition EksSource.h:56
EksSource & WithNamespaces(Aws::Vector< Aws::String > &&value)
Definition EksSource.h:72
const Aws::String & GetEksClusterArn() const
Definition EksSource.h:52
EksSource & WithNamespaces(const Aws::Vector< Aws::String > &value)
Definition EksSource.h:71
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
EksSource & WithEksClusterArn(const char *value)
Definition EksSource.h:59
EksSource & AddNamespaces(Aws::String &&value)
Definition EksSource.h:74
AWS_RESILIENCEHUB_API EksSource()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue