AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentTemplateSummary.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FIS
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ExperimentTemplateSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ExperimentTemplateSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ExperimentTemplateSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline ExperimentTemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline ExperimentTemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline ExperimentTemplateSummary& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ExperimentTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ExperimentTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ExperimentTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
91 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline ExperimentTemplateSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
101 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
102 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
103 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
105 inline ExperimentTemplateSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
115 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
117 inline ExperimentTemplateSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
118 inline ExperimentTemplateSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
119 inline ExperimentTemplateSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
120 inline ExperimentTemplateSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
121 inline ExperimentTemplateSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
122 inline ExperimentTemplateSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline ExperimentTemplateSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline ExperimentTemplateSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
126 private:
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_arn;
132 bool m_arnHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationTime;
138 bool m_creationTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastUpdateTime;
141 bool m_lastUpdateTimeHasBeenSet = false;
142
144 bool m_tagsHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace FIS
149} // namespace Aws
ExperimentTemplateSummary & WithId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ExperimentTemplateSummary & WithArn(const char *value)
ExperimentTemplateSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ExperimentTemplateSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ExperimentTemplateSummary & AddTags(const Aws::String &key, Aws::String &&value)
ExperimentTemplateSummary & WithDescription(const Aws::String &value)
AWS_FIS_API ExperimentTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
ExperimentTemplateSummary & WithId(const Aws::String &value)
ExperimentTemplateSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ExperimentTemplateSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTemplateSummary & WithArn(Aws::String &&value)
ExperimentTemplateSummary & AddTags(Aws::String &&key, const Aws::String &value)
ExperimentTemplateSummary & AddTags(const char *key, Aws::String &&value)
ExperimentTemplateSummary & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
ExperimentTemplateSummary & WithId(const char *value)
ExperimentTemplateSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ExperimentTemplateSummary & WithDescription(const char *value)
ExperimentTemplateSummary & AddTags(Aws::String &&key, const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ExperimentTemplateSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_FIS_API ExperimentTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateSummary & AddTags(const char *key, const char *value)
ExperimentTemplateSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentTemplateSummary & WithDescription(Aws::String &&value)
ExperimentTemplateSummary & AddTags(const Aws::String &key, const Aws::String &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