AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguruprofiler/model/ComputePlatform.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codeguruprofiler/model/ProfilingStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CodeGuruProfiler
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CODEGURUPROFILER_API ProfilingGroupDescription();
40 AWS_CODEGURUPROFILER_API ProfilingGroupDescription(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const AgentOrchestrationConfig& GetAgentOrchestrationConfig() const{ return m_agentOrchestrationConfig; }
53 inline bool AgentOrchestrationConfigHasBeenSet() const { return m_agentOrchestrationConfigHasBeenSet; }
54 inline void SetAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = value; }
55 inline void SetAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::move(value); }
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline ProfilingGroupDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline ProfilingGroupDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline ProfilingGroupDescription& WithArn(const char* value) { SetArn(value); return *this;}
73
75
82 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
83 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
84 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
85 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
87 inline ProfilingGroupDescription& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
89
91
96 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
99 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
100 inline ProfilingGroupDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
101 inline ProfilingGroupDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetName() const{ return m_name; }
109 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
110 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
111 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
112 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
113 inline ProfilingGroupDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
114 inline ProfilingGroupDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
115 inline ProfilingGroupDescription& WithName(const char* value) { SetName(value); return *this;}
117
119
127 inline const ProfilingStatus& GetProfilingStatus() const{ return m_profilingStatus; }
128 inline bool ProfilingStatusHasBeenSet() const { return m_profilingStatusHasBeenSet; }
129 inline void SetProfilingStatus(const ProfilingStatus& value) { m_profilingStatusHasBeenSet = true; m_profilingStatus = value; }
130 inline void SetProfilingStatus(ProfilingStatus&& value) { m_profilingStatusHasBeenSet = true; m_profilingStatus = std::move(value); }
132 inline ProfilingGroupDescription& WithProfilingStatus(ProfilingStatus&& value) { SetProfilingStatus(std::move(value)); return *this;}
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
142 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
144 inline ProfilingGroupDescription& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
145 inline ProfilingGroupDescription& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 inline ProfilingGroupDescription& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline ProfilingGroupDescription& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline ProfilingGroupDescription& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
149 inline ProfilingGroupDescription& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline ProfilingGroupDescription& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline ProfilingGroupDescription& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153
155
160 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
161 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
162 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
163 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
164 inline ProfilingGroupDescription& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
165 inline ProfilingGroupDescription& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
167 private:
168
169 AgentOrchestrationConfig m_agentOrchestrationConfig;
170 bool m_agentOrchestrationConfigHasBeenSet = false;
171
172 Aws::String m_arn;
173 bool m_arnHasBeenSet = false;
174
175 ComputePlatform m_computePlatform;
176 bool m_computePlatformHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdAt;
179 bool m_createdAtHasBeenSet = false;
180
181 Aws::String m_name;
182 bool m_nameHasBeenSet = false;
183
184 ProfilingStatus m_profilingStatus;
185 bool m_profilingStatusHasBeenSet = false;
186
188 bool m_tagsHasBeenSet = false;
189
190 Aws::Utils::DateTime m_updatedAt;
191 bool m_updatedAtHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace CodeGuruProfiler
196} // namespace Aws
ProfilingGroupDescription & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ProfilingGroupDescription & WithComputePlatform(ComputePlatform &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ProfilingGroupDescription & WithCreatedAt(const Aws::Utils::DateTime &value)
ProfilingGroupDescription & AddTags(const Aws::String &key, Aws::String &&value)
ProfilingGroupDescription & WithName(const char *value)
ProfilingGroupDescription & WithAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
AWS_CODEGURUPROFILER_API ProfilingGroupDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilingGroupDescription & AddTags(Aws::String &&key, const Aws::String &value)
void SetAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
ProfilingGroupDescription & WithArn(const Aws::String &value)
ProfilingGroupDescription & AddTags(const char *key, const char *value)
ProfilingGroupDescription & WithUpdatedAt(const Aws::Utils::DateTime &value)
ProfilingGroupDescription & WithArn(Aws::String &&value)
ProfilingGroupDescription & WithProfilingStatus(ProfilingStatus &&value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
ProfilingGroupDescription & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ProfilingGroupDescription & AddTags(Aws::String &&key, Aws::String &&value)
ProfilingGroupDescription & AddTags(Aws::String &&key, const char *value)
void SetAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
ProfilingGroupDescription & WithProfilingStatus(const ProfilingStatus &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const AgentOrchestrationConfig & GetAgentOrchestrationConfig() const
ProfilingGroupDescription & AddTags(const char *key, Aws::String &&value)
ProfilingGroupDescription & AddTags(const Aws::String &key, const Aws::String &value)
ProfilingGroupDescription & WithArn(const char *value)
ProfilingGroupDescription & WithUpdatedAt(Aws::Utils::DateTime &&value)
ProfilingGroupDescription & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ProfilingGroupDescription & WithName(Aws::String &&value)
ProfilingGroupDescription & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_CODEGURUPROFILER_API ProfilingGroupDescription(Aws::Utils::Json::JsonView jsonValue)
ProfilingGroupDescription & WithComputePlatform(const ComputePlatform &value)
ProfilingGroupDescription & WithAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
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