AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EksClusterDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/guardduty/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GUARDDUTY_API EksClusterDetails();
39 AWS_GUARDDUTY_API EksClusterDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline EksClusterDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline EksClusterDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline EksClusterDetails& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline EksClusterDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline EksClusterDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline EksClusterDetails& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
77 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
78 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
79 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
80 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
81 inline EksClusterDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
82 inline EksClusterDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
83 inline EksClusterDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
85
87
90 inline const Aws::String& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
95 inline EksClusterDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
96 inline EksClusterDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
97 inline EksClusterDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
99
101
104 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 inline EksClusterDetails& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
109 inline EksClusterDetails& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 inline EksClusterDetails& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
111 inline EksClusterDetails& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
113
115
118 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
119 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
120 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
121 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
122 inline EksClusterDetails& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
123 inline EksClusterDetails& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
125 private:
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_arn;
131 bool m_arnHasBeenSet = false;
132
133 Aws::String m_vpcId;
134 bool m_vpcIdHasBeenSet = false;
135
136 Aws::String m_status;
137 bool m_statusHasBeenSet = false;
138
139 Aws::Vector<Tag> m_tags;
140 bool m_tagsHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAt;
143 bool m_createdAtHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace GuardDuty
148} // namespace Aws
const Aws::Vector< Tag > & GetTags() const
EksClusterDetails & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
EksClusterDetails & WithVpcId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_GUARDDUTY_API EksClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EksClusterDetails & WithName(const char *value)
EksClusterDetails & AddTags(const Tag &value)
EksClusterDetails & WithName(Aws::String &&value)
EksClusterDetails & WithStatus(const Aws::String &value)
EksClusterDetails & WithArn(Aws::String &&value)
EksClusterDetails & WithArn(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
EksClusterDetails & WithCreatedAt(const Aws::Utils::DateTime &value)
EksClusterDetails & WithName(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
EksClusterDetails & WithTags(const Aws::Vector< Tag > &value)
AWS_GUARDDUTY_API EksClusterDetails(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Vector< Tag > &&value)
EksClusterDetails & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
EksClusterDetails & WithVpcId(const char *value)
EksClusterDetails & WithTags(Aws::Vector< Tag > &&value)
void SetVpcId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
EksClusterDetails & WithStatus(const char *value)
EksClusterDetails & AddTags(Tag &&value)
void SetName(const Aws::String &value)
void SetStatus(const Aws::String &value)
EksClusterDetails & WithVpcId(const Aws::String &value)
EksClusterDetails & WithStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue