AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIndexResult.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_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/AWSVector.h>
11#include <aws/resource-explorer-2/model/IndexState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/resource-explorer-2/model/IndexType.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace ResourceExplorer2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_RESOURCEEXPLORER2_API GetIndexResult();
38
39
41
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline GetIndexResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline GetIndexResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline GetIndexResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
60 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
61 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
62 inline GetIndexResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
63 inline GetIndexResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
71 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
72 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
73 inline GetIndexResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
74 inline GetIndexResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
76
78
83 inline const Aws::Vector<Aws::String>& GetReplicatingFrom() const{ return m_replicatingFrom; }
84 inline void SetReplicatingFrom(const Aws::Vector<Aws::String>& value) { m_replicatingFrom = value; }
85 inline void SetReplicatingFrom(Aws::Vector<Aws::String>&& value) { m_replicatingFrom = std::move(value); }
87 inline GetIndexResult& WithReplicatingFrom(Aws::Vector<Aws::String>&& value) { SetReplicatingFrom(std::move(value)); return *this;}
88 inline GetIndexResult& AddReplicatingFrom(const Aws::String& value) { m_replicatingFrom.push_back(value); return *this; }
89 inline GetIndexResult& AddReplicatingFrom(Aws::String&& value) { m_replicatingFrom.push_back(std::move(value)); return *this; }
90 inline GetIndexResult& AddReplicatingFrom(const char* value) { m_replicatingFrom.push_back(value); return *this; }
92
94
101 inline const Aws::Vector<Aws::String>& GetReplicatingTo() const{ return m_replicatingTo; }
102 inline void SetReplicatingTo(const Aws::Vector<Aws::String>& value) { m_replicatingTo = value; }
103 inline void SetReplicatingTo(Aws::Vector<Aws::String>&& value) { m_replicatingTo = std::move(value); }
104 inline GetIndexResult& WithReplicatingTo(const Aws::Vector<Aws::String>& value) { SetReplicatingTo(value); return *this;}
105 inline GetIndexResult& WithReplicatingTo(Aws::Vector<Aws::String>&& value) { SetReplicatingTo(std::move(value)); return *this;}
106 inline GetIndexResult& AddReplicatingTo(const Aws::String& value) { m_replicatingTo.push_back(value); return *this; }
107 inline GetIndexResult& AddReplicatingTo(Aws::String&& value) { m_replicatingTo.push_back(std::move(value)); return *this; }
108 inline GetIndexResult& AddReplicatingTo(const char* value) { m_replicatingTo.push_back(value); return *this; }
110
112
115 inline const IndexState& GetState() const{ return m_state; }
116 inline void SetState(const IndexState& value) { m_state = value; }
117 inline void SetState(IndexState&& value) { m_state = std::move(value); }
118 inline GetIndexResult& WithState(const IndexState& value) { SetState(value); return *this;}
119 inline GetIndexResult& WithState(IndexState&& value) { SetState(std::move(value)); return *this;}
121
123
126 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
127 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
128 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
129 inline GetIndexResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
130 inline GetIndexResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
131 inline GetIndexResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
132 inline GetIndexResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
133 inline GetIndexResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
134 inline GetIndexResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
135 inline GetIndexResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
136 inline GetIndexResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
137 inline GetIndexResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
139
141
147 inline const IndexType& GetType() const{ return m_type; }
148 inline void SetType(const IndexType& value) { m_type = value; }
149 inline void SetType(IndexType&& value) { m_type = std::move(value); }
150 inline GetIndexResult& WithType(const IndexType& value) { SetType(value); return *this;}
151 inline GetIndexResult& WithType(IndexType&& value) { SetType(std::move(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const{ return m_requestId; }
157 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
158 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
160 inline GetIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
161 inline GetIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
162 inline GetIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
164 private:
165
166 Aws::String m_arn;
167
168 Aws::Utils::DateTime m_createdAt;
169
170 Aws::Utils::DateTime m_lastUpdatedAt;
171
172 Aws::Vector<Aws::String> m_replicatingFrom;
173
174 Aws::Vector<Aws::String> m_replicatingTo;
175
176 IndexState m_state;
177
179
180 IndexType m_type;
181
182 Aws::String m_requestId;
183 };
184
185} // namespace Model
186} // namespace ResourceExplorer2
187} // namespace Aws
GetIndexResult & WithArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetReplicatingTo() const
GetIndexResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetReplicatingFrom() const
GetIndexResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetIndexResult & AddTags(Aws::String &&key, Aws::String &&value)
GetIndexResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & AddReplicatingFrom(Aws::String &&value)
AWS_RESOURCEEXPLORER2_API GetIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIndexResult & WithType(const IndexType &value)
GetIndexResult & WithReplicatingFrom(const Aws::Vector< Aws::String > &value)
GetIndexResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetIndexResult & WithType(IndexType &&value)
void SetArn(const Aws::String &value)
GetIndexResult & WithRequestId(const Aws::String &value)
GetIndexResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetIndexResult & AddReplicatingTo(const char *value)
GetIndexResult & WithRequestId(const char *value)
GetIndexResult & AddTags(Aws::String &&key, const char *value)
GetIndexResult & WithState(const IndexState &value)
AWS_RESOURCEEXPLORER2_API GetIndexResult()
void SetReplicatingTo(const Aws::Vector< Aws::String > &value)
AWS_RESOURCEEXPLORER2_API GetIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplicatingFrom(Aws::Vector< Aws::String > &&value)
GetIndexResult & WithReplicatingTo(const Aws::Vector< Aws::String > &value)
void SetRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetIndexResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetIndexResult & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetIndexResult & WithRequestId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & AddReplicatingTo(Aws::String &&value)
void SetReplicatingTo(Aws::Vector< Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetIndexResult & AddReplicatingFrom(const Aws::String &value)
GetIndexResult & WithState(IndexState &&value)
GetIndexResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & AddReplicatingTo(const Aws::String &value)
GetIndexResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & AddTags(const char *key, Aws::String &&value)
GetIndexResult & WithReplicatingFrom(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetIndexResult & WithArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetIndexResult & AddReplicatingFrom(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetIndexResult & WithArn(const char *value)
void SetReplicatingFrom(const Aws::Vector< Aws::String > &value)
GetIndexResult & WithReplicatingTo(Aws::Vector< Aws::String > &&value)
GetIndexResult & WithCreatedAt(Aws::Utils::DateTime &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue