AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeIndexResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetIndexName() const{ return m_indexName; }
40 
44  inline void SetIndexName(const Aws::String& value) { m_indexName = value; }
45 
49  inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); }
50 
54  inline void SetIndexName(const char* value) { m_indexName.assign(value); }
55 
59  inline DescribeIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
60 
64  inline DescribeIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
65 
69  inline DescribeIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;}
70 
71 
75  inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; }
76 
80  inline void SetIndexStatus(const IndexStatus& value) { m_indexStatus = value; }
81 
85  inline void SetIndexStatus(IndexStatus&& value) { m_indexStatus = std::move(value); }
86 
90  inline DescribeIndexResult& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;}
91 
95  inline DescribeIndexResult& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;}
96 
97 
107  inline const Aws::String& GetSchema() const{ return m_schema; }
108 
118  inline void SetSchema(const Aws::String& value) { m_schema = value; }
119 
129  inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
130 
140  inline void SetSchema(const char* value) { m_schema.assign(value); }
141 
151  inline DescribeIndexResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
152 
162  inline DescribeIndexResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
163 
173  inline DescribeIndexResult& WithSchema(const char* value) { SetSchema(value); return *this;}
174 
175  private:
176 
177  Aws::String m_indexName;
178 
179  IndexStatus m_indexStatus;
180 
181  Aws::String m_schema;
182  };
183 
184 } // namespace Model
185 } // namespace IoT
186 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeIndexResult::SetSchema
void SetSchema(const Aws::String &value)
Definition: DescribeIndexResult.h:118
Aws::IoT::Model::DescribeIndexResult::GetIndexStatus
const IndexStatus & GetIndexStatus() const
Definition: DescribeIndexResult.h:75
Aws::IoT::Model::DescribeIndexResult
Definition: DescribeIndexResult.h:29
Aws::IoT::Model::IndexStatus
IndexStatus
Definition: IndexStatus.h:17
Aws::IoT::Model::DescribeIndexResult::SetSchema
void SetSchema(Aws::String &&value)
Definition: DescribeIndexResult.h:129
Aws::IoT::Model::DescribeIndexResult::WithSchema
DescribeIndexResult & WithSchema(const Aws::String &value)
Definition: DescribeIndexResult.h:151
Aws::IoT::Model::DescribeIndexResult::WithSchema
DescribeIndexResult & WithSchema(Aws::String &&value)
Definition: DescribeIndexResult.h:162
Aws::IoT::Model::DescribeIndexResult::SetIndexStatus
void SetIndexStatus(const IndexStatus &value)
Definition: DescribeIndexResult.h:80
Aws::IoT::Model::DescribeIndexResult::SetIndexName
void SetIndexName(const char *value)
Definition: DescribeIndexResult.h:54
Aws::IoT::Model::DescribeIndexResult::DescribeIndexResult
DescribeIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeIndexResult::SetSchema
void SetSchema(const char *value)
Definition: DescribeIndexResult.h:140
Aws::IoT::Model::DescribeIndexResult::GetIndexName
const Aws::String & GetIndexName() const
Definition: DescribeIndexResult.h:39
AWSString.h
Aws::IoT::Model::DescribeIndexResult::SetIndexName
void SetIndexName(Aws::String &&value)
Definition: DescribeIndexResult.h:49
Aws::IoT::Model::DescribeIndexResult::WithIndexName
DescribeIndexResult & WithIndexName(const char *value)
Definition: DescribeIndexResult.h:69
Aws::IoT::Model::DescribeIndexResult::WithSchema
DescribeIndexResult & WithSchema(const char *value)
Definition: DescribeIndexResult.h:173
Aws::IoT::Model::DescribeIndexResult::SetIndexStatus
void SetIndexStatus(IndexStatus &&value)
Definition: DescribeIndexResult.h:85
Aws::IoT::Model::DescribeIndexResult::WithIndexStatus
DescribeIndexResult & WithIndexStatus(const IndexStatus &value)
Definition: DescribeIndexResult.h:90
Aws::IoT::Model::DescribeIndexResult::GetSchema
const Aws::String & GetSchema() const
Definition: DescribeIndexResult.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeIndexResult::WithIndexName
DescribeIndexResult & WithIndexName(const Aws::String &value)
Definition: DescribeIndexResult.h:59
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeIndexResult::WithIndexName
DescribeIndexResult & WithIndexName(Aws::String &&value)
Definition: DescribeIndexResult.h:64
Aws::IoT::Model::DescribeIndexResult::WithIndexStatus
DescribeIndexResult & WithIndexStatus(IndexStatus &&value)
Definition: DescribeIndexResult.h:95
IndexStatus.h
Aws::IoT::Model::DescribeIndexResult::DescribeIndexResult
DescribeIndexResult()
Aws::IoT::Model::DescribeIndexResult::SetIndexName
void SetIndexName(const Aws::String &value)
Definition: DescribeIndexResult.h:44
Aws::IoT::Model::DescribeIndexResult::operator=
DescribeIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoT_EXPORTS.h