AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainStatus.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudsearch/model/ServiceEndpoint.h>
11#include <aws/cloudsearch/model/Limits.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudSearch
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CLOUDSEARCH_API DomainStatus();
37 AWS_CLOUDSEARCH_API DomainStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDSEARCH_API DomainStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
46 inline const Aws::String& GetDomainId() const{ return m_domainId; }
47 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
48 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
49 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
50 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
51 inline DomainStatus& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
52 inline DomainStatus& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
53 inline DomainStatus& WithDomainId(const char* value) { SetDomainId(value); return *this;}
55
57
58 inline const Aws::String& GetDomainName() const{ return m_domainName; }
59 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
60 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
61 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
62 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
63 inline DomainStatus& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
64 inline DomainStatus& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
65 inline DomainStatus& WithDomainName(const char* value) { SetDomainName(value); return *this;}
67
69
70 inline const Aws::String& GetARN() const{ return m_aRN; }
71 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
72 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
73 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
74 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
75 inline DomainStatus& WithARN(const Aws::String& value) { SetARN(value); return *this;}
76 inline DomainStatus& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
77 inline DomainStatus& WithARN(const char* value) { SetARN(value); return *this;}
79
81
87 inline bool GetCreated() const{ return m_created; }
88 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
89 inline void SetCreated(bool value) { m_createdHasBeenSet = true; m_created = value; }
90 inline DomainStatus& WithCreated(bool value) { SetCreated(value); return *this;}
92
94
101 inline bool GetDeleted() const{ return m_deleted; }
102 inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; }
103 inline void SetDeleted(bool value) { m_deletedHasBeenSet = true; m_deleted = value; }
104 inline DomainStatus& WithDeleted(bool value) { SetDeleted(value); return *this;}
106
108
111 inline const ServiceEndpoint& GetDocService() const{ return m_docService; }
112 inline bool DocServiceHasBeenSet() const { return m_docServiceHasBeenSet; }
113 inline void SetDocService(const ServiceEndpoint& value) { m_docServiceHasBeenSet = true; m_docService = value; }
114 inline void SetDocService(ServiceEndpoint&& value) { m_docServiceHasBeenSet = true; m_docService = std::move(value); }
115 inline DomainStatus& WithDocService(const ServiceEndpoint& value) { SetDocService(value); return *this;}
116 inline DomainStatus& WithDocService(ServiceEndpoint&& value) { SetDocService(std::move(value)); return *this;}
118
120
123 inline const ServiceEndpoint& GetSearchService() const{ return m_searchService; }
124 inline bool SearchServiceHasBeenSet() const { return m_searchServiceHasBeenSet; }
125 inline void SetSearchService(const ServiceEndpoint& value) { m_searchServiceHasBeenSet = true; m_searchService = value; }
126 inline void SetSearchService(ServiceEndpoint&& value) { m_searchServiceHasBeenSet = true; m_searchService = std::move(value); }
127 inline DomainStatus& WithSearchService(const ServiceEndpoint& value) { SetSearchService(value); return *this;}
128 inline DomainStatus& WithSearchService(ServiceEndpoint&& value) { SetSearchService(std::move(value)); return *this;}
130
132
136 inline bool GetRequiresIndexDocuments() const{ return m_requiresIndexDocuments; }
137 inline bool RequiresIndexDocumentsHasBeenSet() const { return m_requiresIndexDocumentsHasBeenSet; }
138 inline void SetRequiresIndexDocuments(bool value) { m_requiresIndexDocumentsHasBeenSet = true; m_requiresIndexDocuments = value; }
139 inline DomainStatus& WithRequiresIndexDocuments(bool value) { SetRequiresIndexDocuments(value); return *this;}
141
143
147 inline bool GetProcessing() const{ return m_processing; }
148 inline bool ProcessingHasBeenSet() const { return m_processingHasBeenSet; }
149 inline void SetProcessing(bool value) { m_processingHasBeenSet = true; m_processing = value; }
150 inline DomainStatus& WithProcessing(bool value) { SetProcessing(value); return *this;}
152
154
157 inline const Aws::String& GetSearchInstanceType() const{ return m_searchInstanceType; }
158 inline bool SearchInstanceTypeHasBeenSet() const { return m_searchInstanceTypeHasBeenSet; }
159 inline void SetSearchInstanceType(const Aws::String& value) { m_searchInstanceTypeHasBeenSet = true; m_searchInstanceType = value; }
160 inline void SetSearchInstanceType(Aws::String&& value) { m_searchInstanceTypeHasBeenSet = true; m_searchInstanceType = std::move(value); }
161 inline void SetSearchInstanceType(const char* value) { m_searchInstanceTypeHasBeenSet = true; m_searchInstanceType.assign(value); }
162 inline DomainStatus& WithSearchInstanceType(const Aws::String& value) { SetSearchInstanceType(value); return *this;}
163 inline DomainStatus& WithSearchInstanceType(Aws::String&& value) { SetSearchInstanceType(std::move(value)); return *this;}
164 inline DomainStatus& WithSearchInstanceType(const char* value) { SetSearchInstanceType(value); return *this;}
166
168
171 inline int GetSearchPartitionCount() const{ return m_searchPartitionCount; }
172 inline bool SearchPartitionCountHasBeenSet() const { return m_searchPartitionCountHasBeenSet; }
173 inline void SetSearchPartitionCount(int value) { m_searchPartitionCountHasBeenSet = true; m_searchPartitionCount = value; }
174 inline DomainStatus& WithSearchPartitionCount(int value) { SetSearchPartitionCount(value); return *this;}
176
178
182 inline int GetSearchInstanceCount() const{ return m_searchInstanceCount; }
183 inline bool SearchInstanceCountHasBeenSet() const { return m_searchInstanceCountHasBeenSet; }
184 inline void SetSearchInstanceCount(int value) { m_searchInstanceCountHasBeenSet = true; m_searchInstanceCount = value; }
185 inline DomainStatus& WithSearchInstanceCount(int value) { SetSearchInstanceCount(value); return *this;}
187
189
190 inline const Limits& GetLimits() const{ return m_limits; }
191 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; }
192 inline void SetLimits(const Limits& value) { m_limitsHasBeenSet = true; m_limits = value; }
193 inline void SetLimits(Limits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); }
194 inline DomainStatus& WithLimits(const Limits& value) { SetLimits(value); return *this;}
195 inline DomainStatus& WithLimits(Limits&& value) { SetLimits(std::move(value)); return *this;}
197 private:
198
199 Aws::String m_domainId;
200 bool m_domainIdHasBeenSet = false;
201
202 Aws::String m_domainName;
203 bool m_domainNameHasBeenSet = false;
204
205 Aws::String m_aRN;
206 bool m_aRNHasBeenSet = false;
207
208 bool m_created;
209 bool m_createdHasBeenSet = false;
210
211 bool m_deleted;
212 bool m_deletedHasBeenSet = false;
213
214 ServiceEndpoint m_docService;
215 bool m_docServiceHasBeenSet = false;
216
217 ServiceEndpoint m_searchService;
218 bool m_searchServiceHasBeenSet = false;
219
220 bool m_requiresIndexDocuments;
221 bool m_requiresIndexDocumentsHasBeenSet = false;
222
223 bool m_processing;
224 bool m_processingHasBeenSet = false;
225
226 Aws::String m_searchInstanceType;
227 bool m_searchInstanceTypeHasBeenSet = false;
228
229 int m_searchPartitionCount;
230 bool m_searchPartitionCountHasBeenSet = false;
231
232 int m_searchInstanceCount;
233 bool m_searchInstanceCountHasBeenSet = false;
234
235 Limits m_limits;
236 bool m_limitsHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace CloudSearch
241} // namespace Aws
DomainStatus & WithDocService(ServiceEndpoint &&value)
void SetSearchInstanceType(const Aws::String &value)
void SetDocService(const ServiceEndpoint &value)
void SetSearchService(ServiceEndpoint &&value)
const Aws::String & GetDomainName() const
void SetSearchService(const ServiceEndpoint &value)
DomainStatus & WithARN(const Aws::String &value)
DomainStatus & WithDeleted(bool value)
void SetLimits(const Limits &value)
void SetDomainId(const char *value)
void SetARN(const Aws::String &value)
DomainStatus & WithDomainName(Aws::String &&value)
const Aws::String & GetARN() const
DomainStatus & WithARN(Aws::String &&value)
DomainStatus & WithDomainName(const char *value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DomainStatus & WithCreated(bool value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API DomainStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDocService(ServiceEndpoint &&value)
DomainStatus & WithSearchInstanceType(Aws::String &&value)
const ServiceEndpoint & GetSearchService() const
const ServiceEndpoint & GetDocService() const
DomainStatus & WithDocService(const ServiceEndpoint &value)
DomainStatus & WithSearchInstanceType(const Aws::String &value)
void SetARN(Aws::String &&value)
const Aws::String & GetDomainId() const
void SetDomainId(Aws::String &&value)
DomainStatus & WithSearchService(ServiceEndpoint &&value)
DomainStatus & WithARN(const char *value)
DomainStatus & WithLimits(const Limits &value)
DomainStatus & WithDomainId(const Aws::String &value)
void SetDomainName(Aws::String &&value)
void SetSearchInstanceType(const char *value)
DomainStatus & WithLimits(Limits &&value)
const Aws::String & GetSearchInstanceType() const
DomainStatus & WithDomainName(const Aws::String &value)
DomainStatus & WithDomainId(Aws::String &&value)
DomainStatus & WithProcessing(bool value)
void SetDomainName(const Aws::String &value)
DomainStatus & WithSearchInstanceType(const char *value)
void SetSearchInstanceType(Aws::String &&value)
DomainStatus & WithSearchInstanceCount(int value)
DomainStatus & WithRequiresIndexDocuments(bool value)
void SetDomainId(const Aws::String &value)
DomainStatus & WithSearchPartitionCount(int value)
AWS_CLOUDSEARCH_API DomainStatus()
DomainStatus & WithSearchService(const ServiceEndpoint &value)
void SetDomainName(const char *value)
DomainStatus & WithDomainId(const char *value)
AWS_CLOUDSEARCH_API DomainStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream