AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentSummary.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fis/model/ExperimentState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/fis/model/ExperimentOptions.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FIS
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_FIS_API ExperimentSummary();
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline ExperimentSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ExperimentSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ExperimentSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline ExperimentSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline ExperimentSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline ExperimentSummary& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::String& GetExperimentTemplateId() const{ return m_experimentTemplateId; }
77 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
78 inline void SetExperimentTemplateId(const Aws::String& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = value; }
79 inline void SetExperimentTemplateId(Aws::String&& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = std::move(value); }
80 inline void SetExperimentTemplateId(const char* value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId.assign(value); }
82 inline ExperimentSummary& WithExperimentTemplateId(Aws::String&& value) { SetExperimentTemplateId(std::move(value)); return *this;}
83 inline ExperimentSummary& WithExperimentTemplateId(const char* value) { SetExperimentTemplateId(value); return *this;}
85
87
90 inline const ExperimentState& GetState() const{ return m_state; }
91 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
92 inline void SetState(const ExperimentState& value) { m_stateHasBeenSet = true; m_state = value; }
93 inline void SetState(ExperimentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
94 inline ExperimentSummary& WithState(const ExperimentState& value) { SetState(value); return *this;}
95 inline ExperimentSummary& WithState(ExperimentState&& value) { SetState(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
103 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
104 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
105 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
106 inline ExperimentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
107 inline ExperimentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
118 inline ExperimentSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
119 inline ExperimentSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline ExperimentSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline ExperimentSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline ExperimentSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline ExperimentSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline ExperimentSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline ExperimentSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline ExperimentSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128
130
133 inline const ExperimentOptions& GetExperimentOptions() const{ return m_experimentOptions; }
134 inline bool ExperimentOptionsHasBeenSet() const { return m_experimentOptionsHasBeenSet; }
135 inline void SetExperimentOptions(const ExperimentOptions& value) { m_experimentOptionsHasBeenSet = true; m_experimentOptions = value; }
136 inline void SetExperimentOptions(ExperimentOptions&& value) { m_experimentOptionsHasBeenSet = true; m_experimentOptions = std::move(value); }
138 inline ExperimentSummary& WithExperimentOptions(ExperimentOptions&& value) { SetExperimentOptions(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_id;
143 bool m_idHasBeenSet = false;
144
145 Aws::String m_arn;
146 bool m_arnHasBeenSet = false;
147
148 Aws::String m_experimentTemplateId;
149 bool m_experimentTemplateIdHasBeenSet = false;
150
151 ExperimentState m_state;
152 bool m_stateHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationTime;
155 bool m_creationTimeHasBeenSet = false;
156
158 bool m_tagsHasBeenSet = false;
159
160 ExperimentOptions m_experimentOptions;
161 bool m_experimentOptionsHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace FIS
166} // namespace Aws
ExperimentSummary & WithId(Aws::String &&value)
ExperimentSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentSummary & WithExperimentTemplateId(Aws::String &&value)
const Aws::String & GetExperimentTemplateId() const
void SetExperimentOptions(ExperimentOptions &&value)
ExperimentSummary & WithExperimentTemplateId(const char *value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentSummary & WithExperimentOptions(const ExperimentOptions &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentSummary & AddTags(const char *key, Aws::String &&value)
ExperimentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ExperimentSummary & WithExperimentOptions(ExperimentOptions &&value)
void SetArn(const Aws::String &value)
ExperimentSummary & AddTags(const Aws::String &key, const Aws::String &value)
ExperimentSummary & WithState(ExperimentState &&value)
void SetId(Aws::String &&value)
ExperimentSummary & WithArn(Aws::String &&value)
ExperimentSummary & WithExperimentTemplateId(const Aws::String &value)
ExperimentSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ExperimentSummary & WithId(const Aws::String &value)
ExperimentSummary & AddTags(const Aws::String &key, Aws::String &&value)
ExperimentSummary & WithState(const ExperimentState &value)
ExperimentSummary & WithArn(const char *value)
const Aws::String & GetId() const
void SetExperimentTemplateId(Aws::String &&value)
ExperimentSummary & AddTags(Aws::String &&key, Aws::String &&value)
const ExperimentState & GetState() const
void SetState(const ExperimentState &value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_FIS_API ExperimentSummary(Aws::Utils::Json::JsonView jsonValue)
ExperimentSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetState(ExperimentState &&value)
const ExperimentOptions & GetExperimentOptions() const
ExperimentSummary & WithId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
ExperimentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetArn(Aws::String &&value)
void SetExperimentTemplateId(const char *value)
ExperimentSummary & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetArn() const
ExperimentSummary & WithArn(const Aws::String &value)
void SetExperimentTemplateId(const Aws::String &value)
AWS_FIS_API ExperimentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExperimentOptions(const ExperimentOptions &value)
ExperimentSummary & AddTags(const char *key, const char *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