AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExperimentTemplateSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fis/FIS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FIS {
22namespace Model {
23
30 public:
31 AWS_FIS_API ExperimentTemplateSummary() = default;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
95 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) {
98 m_creationTimeHasBeenSet = true;
99 m_creationTime = std::forward<CreationTimeT>(value);
100 }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
103 SetCreationTime(std::forward<CreationTimeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
113 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
114 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
115 void SetLastUpdateTime(LastUpdateTimeT&& value) {
116 m_lastUpdateTimeHasBeenSet = true;
117 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
118 }
119 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
121 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
131 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) {
134 m_tagsHasBeenSet = true;
135 m_tags = std::forward<TagsT>(value);
136 }
137 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 SetTags(std::forward<TagsT>(value));
140 return *this;
141 }
142 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
143 ExperimentTemplateSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
144 m_tagsHasBeenSet = true;
145 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_id;
151
152 Aws::String m_arn;
153
154 Aws::String m_description;
155
156 Aws::Utils::DateTime m_creationTime{};
157
158 Aws::Utils::DateTime m_lastUpdateTime{};
159
161 bool m_idHasBeenSet = false;
162 bool m_arnHasBeenSet = false;
163 bool m_descriptionHasBeenSet = false;
164 bool m_creationTimeHasBeenSet = false;
165 bool m_lastUpdateTimeHasBeenSet = false;
166 bool m_tagsHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace FIS
171} // namespace Aws
AWS_FIS_API ExperimentTemplateSummary()=default
ExperimentTemplateSummary & WithId(IdT &&value)
ExperimentTemplateSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ExperimentTemplateSummary & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_FIS_API ExperimentTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
ExperimentTemplateSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_FIS_API ExperimentTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentTemplateSummary & WithCreationTime(CreationTimeT &&value)
ExperimentTemplateSummary & WithDescription(DescriptionT &&value)
ExperimentTemplateSummary & WithArn(ArnT &&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