AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AgentSpace.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API AgentSpace() = default;
32 AWS_DEVOPSAGENT_API AgentSpace(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API AgentSpace& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 AgentSpace& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 AgentSpace& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetLocale() const { return m_locale; }
78 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
79 template <typename LocaleT = Aws::String>
80 void SetLocale(LocaleT&& value) {
81 m_localeHasBeenSet = true;
82 m_locale = std::forward<LocaleT>(value);
83 }
84 template <typename LocaleT = Aws::String>
85 AgentSpace& WithLocale(LocaleT&& value) {
86 SetLocale(std::forward<LocaleT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) {
99 m_createdAtHasBeenSet = true;
100 m_createdAt = std::forward<CreatedAtT>(value);
101 }
102 template <typename CreatedAtT = Aws::Utils::DateTime>
103 AgentSpace& WithCreatedAt(CreatedAtT&& value) {
104 SetCreatedAt(std::forward<CreatedAtT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
114 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
115 template <typename UpdatedAtT = Aws::Utils::DateTime>
116 void SetUpdatedAt(UpdatedAtT&& value) {
117 m_updatedAtHasBeenSet = true;
118 m_updatedAt = std::forward<UpdatedAtT>(value);
119 }
120 template <typename UpdatedAtT = Aws::Utils::DateTime>
121 AgentSpace& WithUpdatedAt(UpdatedAtT&& value) {
122 SetUpdatedAt(std::forward<UpdatedAtT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
133 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
134 template <typename KmsKeyArnT = Aws::String>
135 void SetKmsKeyArn(KmsKeyArnT&& value) {
136 m_kmsKeyArnHasBeenSet = true;
137 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
138 }
139 template <typename KmsKeyArnT = Aws::String>
140 AgentSpace& WithKmsKeyArn(KmsKeyArnT&& value) {
141 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
151 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
152 template <typename AgentSpaceIdT = Aws::String>
153 void SetAgentSpaceId(AgentSpaceIdT&& value) {
154 m_agentSpaceIdHasBeenSet = true;
155 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
156 }
157 template <typename AgentSpaceIdT = Aws::String>
158 AgentSpace& WithAgentSpaceId(AgentSpaceIdT&& value) {
159 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_name;
165
166 Aws::String m_description;
167
168 Aws::String m_locale;
169
170 Aws::Utils::DateTime m_createdAt{};
171
172 Aws::Utils::DateTime m_updatedAt{};
173
174 Aws::String m_kmsKeyArn;
175
176 Aws::String m_agentSpaceId;
177 bool m_nameHasBeenSet = false;
178 bool m_descriptionHasBeenSet = false;
179 bool m_localeHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_updatedAtHasBeenSet = false;
182 bool m_kmsKeyArnHasBeenSet = false;
183 bool m_agentSpaceIdHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace DevOpsAgent
188} // namespace Aws
AWS_DEVOPSAGENT_API AgentSpace(Aws::Utils::Json::JsonView jsonValue)
AgentSpace & WithKmsKeyArn(KmsKeyArnT &&value)
Definition AgentSpace.h:140
const Aws::String & GetName() const
Definition AgentSpace.h:40
AgentSpace & WithAgentSpaceId(AgentSpaceIdT &&value)
Definition AgentSpace.h:158
AWS_DEVOPSAGENT_API AgentSpace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentSpace & WithCreatedAt(CreatedAtT &&value)
Definition AgentSpace.h:103
void SetLocale(LocaleT &&value)
Definition AgentSpace.h:80
AgentSpace & WithLocale(LocaleT &&value)
Definition AgentSpace.h:85
void SetCreatedAt(CreatedAtT &&value)
Definition AgentSpace.h:98
const Aws::String & GetLocale() const
Definition AgentSpace.h:77
AWS_DEVOPSAGENT_API AgentSpace()=default
const Aws::String & GetKmsKeyArn() const
Definition AgentSpace.h:132
const Aws::Utils::DateTime & GetCreatedAt() const
Definition AgentSpace.h:95
const Aws::String & GetDescription() const
Definition AgentSpace.h:58
void SetKmsKeyArn(KmsKeyArnT &&value)
Definition AgentSpace.h:135
AgentSpace & WithUpdatedAt(UpdatedAtT &&value)
Definition AgentSpace.h:121
void SetUpdatedAt(UpdatedAtT &&value)
Definition AgentSpace.h:116
AgentSpace & WithDescription(DescriptionT &&value)
Definition AgentSpace.h:66
void SetDescription(DescriptionT &&value)
Definition AgentSpace.h:61
AgentSpace & WithName(NameT &&value)
Definition AgentSpace.h:48
const Aws::String & GetAgentSpaceId() const
Definition AgentSpace.h:150
void SetAgentSpaceId(AgentSpaceIdT &&value)
Definition AgentSpace.h:153
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition AgentSpace.h:113
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue