AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AgentOrchestrationConfigT = AgentOrchestrationConfig>
55 void SetAgentOrchestrationConfig(AgentOrchestrationConfigT&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::forward<AgentOrchestrationConfigT>(value); }
56 template<typename AgentOrchestrationConfigT = AgentOrchestrationConfig>
57 ProfilingGroupDescription& WithAgentOrchestrationConfig(AgentOrchestrationConfigT&& value) { SetAgentOrchestrationConfig(std::forward<AgentOrchestrationConfigT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
68 template<typename ArnT = Aws::String>
69 ProfilingGroupDescription& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
71
73
80 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
81 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
82 inline void SetComputePlatform(ComputePlatform value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
85
87
92 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
93 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
94 template<typename CreatedAtT = Aws::Utils::DateTime>
95 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
96 template<typename CreatedAtT = Aws::Utils::DateTime>
97 ProfilingGroupDescription& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 ProfilingGroupDescription& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
121 inline const ProfilingStatus& GetProfilingStatus() const { return m_profilingStatus; }
122 inline bool ProfilingStatusHasBeenSet() const { return m_profilingStatusHasBeenSet; }
123 template<typename ProfilingStatusT = ProfilingStatus>
124 void SetProfilingStatus(ProfilingStatusT&& value) { m_profilingStatusHasBeenSet = true; m_profilingStatus = std::forward<ProfilingStatusT>(value); }
125 template<typename ProfilingStatusT = ProfilingStatus>
126 ProfilingGroupDescription& WithProfilingStatus(ProfilingStatusT&& value) { SetProfilingStatus(std::forward<ProfilingStatusT>(value)); return *this;}
128
130
133 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
134 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
135 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
137 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 ProfilingGroupDescription& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
139 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
140 ProfilingGroupDescription& AddTags(TagsKeyT&& key, TagsValueT&& value) {
141 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
142 }
144
146
151 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
152 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
153 template<typename UpdatedAtT = Aws::Utils::DateTime>
154 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
155 template<typename UpdatedAtT = Aws::Utils::DateTime>
156 ProfilingGroupDescription& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
158 private:
159
160 AgentOrchestrationConfig m_agentOrchestrationConfig;
161 bool m_agentOrchestrationConfigHasBeenSet = false;
162
163 Aws::String m_arn;
164 bool m_arnHasBeenSet = false;
165
166 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
167 bool m_computePlatformHasBeenSet = false;
168
169 Aws::Utils::DateTime m_createdAt{};
170 bool m_createdAtHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 ProfilingStatus m_profilingStatus;
176 bool m_profilingStatusHasBeenSet = false;
177
179 bool m_tagsHasBeenSet = false;
180
181 Aws::Utils::DateTime m_updatedAt{};
182 bool m_updatedAtHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace CodeGuruProfiler
187} // 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