AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ProfilingGroupDescription.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/AgentOrchestrationConfig.h>
9#include <aws/codeguruprofiler/model/ComputePlatform.h>
10#include <aws/codeguruprofiler/model/ProfilingStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CodeGuruProfiler {
25namespace Model {
26
33 public:
34 AWS_CODEGURUPROFILER_API ProfilingGroupDescription() = default;
35 AWS_CODEGURUPROFILER_API ProfilingGroupDescription(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const AgentOrchestrationConfig& GetAgentOrchestrationConfig() const { return m_agentOrchestrationConfig; }
47 inline bool AgentOrchestrationConfigHasBeenSet() const { return m_agentOrchestrationConfigHasBeenSet; }
48 template <typename AgentOrchestrationConfigT = AgentOrchestrationConfig>
49 void SetAgentOrchestrationConfig(AgentOrchestrationConfigT&& value) {
50 m_agentOrchestrationConfigHasBeenSet = true;
51 m_agentOrchestrationConfig = std::forward<AgentOrchestrationConfigT>(value);
52 }
53 template <typename AgentOrchestrationConfigT = AgentOrchestrationConfig>
54 ProfilingGroupDescription& WithAgentOrchestrationConfig(AgentOrchestrationConfigT&& value) {
55 SetAgentOrchestrationConfig(std::forward<AgentOrchestrationConfigT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 template <typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) {
68 m_arnHasBeenSet = true;
69 m_arn = std::forward<ArnT>(value);
70 }
71 template <typename ArnT = Aws::String>
73 SetArn(std::forward<ArnT>(value));
74 return *this;
75 }
77
79
86 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
87 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
89 m_computePlatformHasBeenSet = true;
90 m_computePlatform = value;
91 }
93 SetComputePlatform(value);
94 return *this;
95 }
97
99
104 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
105 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
106 template <typename CreatedAtT = Aws::Utils::DateTime>
107 void SetCreatedAt(CreatedAtT&& value) {
108 m_createdAtHasBeenSet = true;
109 m_createdAt = std::forward<CreatedAtT>(value);
110 }
111 template <typename CreatedAtT = Aws::Utils::DateTime>
113 SetCreatedAt(std::forward<CreatedAtT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetName() const { return m_name; }
123 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
124 template <typename NameT = Aws::String>
125 void SetName(NameT&& value) {
126 m_nameHasBeenSet = true;
127 m_name = std::forward<NameT>(value);
128 }
129 template <typename NameT = Aws::String>
131 SetName(std::forward<NameT>(value));
132 return *this;
133 }
135
137
145 inline const ProfilingStatus& GetProfilingStatus() const { return m_profilingStatus; }
146 inline bool ProfilingStatusHasBeenSet() const { return m_profilingStatusHasBeenSet; }
147 template <typename ProfilingStatusT = ProfilingStatus>
148 void SetProfilingStatus(ProfilingStatusT&& value) {
149 m_profilingStatusHasBeenSet = true;
150 m_profilingStatus = std::forward<ProfilingStatusT>(value);
151 }
152 template <typename ProfilingStatusT = ProfilingStatus>
154 SetProfilingStatus(std::forward<ProfilingStatusT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
164 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
165 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
166 void SetTags(TagsT&& value) {
167 m_tagsHasBeenSet = true;
168 m_tags = std::forward<TagsT>(value);
169 }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 SetTags(std::forward<TagsT>(value));
173 return *this;
174 }
175 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
176 ProfilingGroupDescription& AddTags(TagsKeyT&& key, TagsValueT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
179 return *this;
180 }
182
184
189 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
190 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
191 template <typename UpdatedAtT = Aws::Utils::DateTime>
192 void SetUpdatedAt(UpdatedAtT&& value) {
193 m_updatedAtHasBeenSet = true;
194 m_updatedAt = std::forward<UpdatedAtT>(value);
195 }
196 template <typename UpdatedAtT = Aws::Utils::DateTime>
198 SetUpdatedAt(std::forward<UpdatedAtT>(value));
199 return *this;
200 }
202 private:
203 AgentOrchestrationConfig m_agentOrchestrationConfig;
204
205 Aws::String m_arn;
206
207 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
208
209 Aws::Utils::DateTime m_createdAt{};
210
211 Aws::String m_name;
212
213 ProfilingStatus m_profilingStatus;
214
216
217 Aws::Utils::DateTime m_updatedAt{};
218 bool m_agentOrchestrationConfigHasBeenSet = false;
219 bool m_arnHasBeenSet = false;
220 bool m_computePlatformHasBeenSet = false;
221 bool m_createdAtHasBeenSet = false;
222 bool m_nameHasBeenSet = false;
223 bool m_profilingStatusHasBeenSet = false;
224 bool m_tagsHasBeenSet = false;
225 bool m_updatedAtHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace CodeGuruProfiler
230} // namespace Aws
AWS_CODEGURUPROFILER_API ProfilingGroupDescription()=default
ProfilingGroupDescription & WithProfilingStatus(ProfilingStatusT &&value)
ProfilingGroupDescription & WithComputePlatform(ComputePlatform value)
void SetAgentOrchestrationConfig(AgentOrchestrationConfigT &&value)
AWS_CODEGURUPROFILER_API ProfilingGroupDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilingGroupDescription & WithAgentOrchestrationConfig(AgentOrchestrationConfigT &&value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ProfilingGroupDescription & WithUpdatedAt(UpdatedAtT &&value)
ProfilingGroupDescription & WithCreatedAt(CreatedAtT &&value)
const AgentOrchestrationConfig & GetAgentOrchestrationConfig() const
ProfilingGroupDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CODEGURUPROFILER_API ProfilingGroupDescription(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue