AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnarchiveWaveResult.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/mgn/model/WaveAggregatedStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace mgn
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MGN_API UnarchiveWaveResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 UnarchiveWaveResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
53 template<typename CreationDateTimeT = Aws::String>
54 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
55 template<typename CreationDateTimeT = Aws::String>
56 UnarchiveWaveResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 UnarchiveWaveResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline bool GetIsArchived() const { return m_isArchived; }
75 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
76 inline UnarchiveWaveResult& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
78
80
83 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
84 template<typename LastModifiedDateTimeT = Aws::String>
85 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value); }
86 template<typename LastModifiedDateTimeT = Aws::String>
87 UnarchiveWaveResult& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) { SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value)); return *this;}
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 template<typename NameT = Aws::String>
96 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
97 template<typename NameT = Aws::String>
98 UnarchiveWaveResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
100
102
105 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
106 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
108 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 UnarchiveWaveResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
110 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
111 UnarchiveWaveResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
112 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
113 }
115
117
120 inline const WaveAggregatedStatus& GetWaveAggregatedStatus() const { return m_waveAggregatedStatus; }
121 template<typename WaveAggregatedStatusT = WaveAggregatedStatus>
122 void SetWaveAggregatedStatus(WaveAggregatedStatusT&& value) { m_waveAggregatedStatusHasBeenSet = true; m_waveAggregatedStatus = std::forward<WaveAggregatedStatusT>(value); }
123 template<typename WaveAggregatedStatusT = WaveAggregatedStatus>
124 UnarchiveWaveResult& WithWaveAggregatedStatus(WaveAggregatedStatusT&& value) { SetWaveAggregatedStatus(std::forward<WaveAggregatedStatusT>(value)); return *this;}
126
128
131 inline const Aws::String& GetWaveID() const { return m_waveID; }
132 template<typename WaveIDT = Aws::String>
133 void SetWaveID(WaveIDT&& value) { m_waveIDHasBeenSet = true; m_waveID = std::forward<WaveIDT>(value); }
134 template<typename WaveIDT = Aws::String>
135 UnarchiveWaveResult& WithWaveID(WaveIDT&& value) { SetWaveID(std::forward<WaveIDT>(value)); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template<typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
143 template<typename RequestIdT = Aws::String>
144 UnarchiveWaveResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_creationDateTime;
152 bool m_creationDateTimeHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 bool m_isArchived{false};
158 bool m_isArchivedHasBeenSet = false;
159
160 Aws::String m_lastModifiedDateTime;
161 bool m_lastModifiedDateTimeHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168
169 WaveAggregatedStatus m_waveAggregatedStatus;
170 bool m_waveAggregatedStatusHasBeenSet = false;
171
172 Aws::String m_waveID;
173 bool m_waveIDHasBeenSet = false;
174
175 Aws::String m_requestId;
176 bool m_requestIdHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace mgn
181} // namespace Aws
UnarchiveWaveResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetLastModifiedDateTime() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDescription() const
UnarchiveWaveResult & WithWaveAggregatedStatus(WaveAggregatedStatusT &&value)
void SetDescription(DescriptionT &&value)
UnarchiveWaveResult & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
AWS_MGN_API UnarchiveWaveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UnarchiveWaveResult & WithTags(TagsT &&value)
const Aws::String & GetName() const
void SetWaveAggregatedStatus(WaveAggregatedStatusT &&value)
const WaveAggregatedStatus & GetWaveAggregatedStatus() const
const Aws::String & GetCreationDateTime() const
UnarchiveWaveResult & WithIsArchived(bool value)
AWS_MGN_API UnarchiveWaveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
UnarchiveWaveResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetWaveID() const
UnarchiveWaveResult & WithName(NameT &&value)
UnarchiveWaveResult & WithDescription(DescriptionT &&value)
UnarchiveWaveResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
UnarchiveWaveResult & WithArn(ArnT &&value)
AWS_MGN_API UnarchiveWaveResult()=default
UnarchiveWaveResult & WithWaveID(WaveIDT &&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