AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIndexResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/IndexStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOT_API DescribeIndexResult();
34
35
37
40 inline const Aws::String& GetIndexName() const{ return m_indexName; }
41 inline void SetIndexName(const Aws::String& value) { m_indexName = value; }
42 inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); }
43 inline void SetIndexName(const char* value) { m_indexName.assign(value); }
44 inline DescribeIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
45 inline DescribeIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
46 inline DescribeIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;}
48
50
53 inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; }
54 inline void SetIndexStatus(const IndexStatus& value) { m_indexStatus = value; }
55 inline void SetIndexStatus(IndexStatus&& value) { m_indexStatus = std::move(value); }
56 inline DescribeIndexResult& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;}
57 inline DescribeIndexResult& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;}
59
61
74 inline const Aws::String& GetSchema() const{ return m_schema; }
75 inline void SetSchema(const Aws::String& value) { m_schema = value; }
76 inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
77 inline void SetSchema(const char* value) { m_schema.assign(value); }
78 inline DescribeIndexResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
79 inline DescribeIndexResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
80 inline DescribeIndexResult& WithSchema(const char* value) { SetSchema(value); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline DescribeIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline DescribeIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline DescribeIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_indexName;
96
97 IndexStatus m_indexStatus;
98
99 Aws::String m_schema;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace IoT
106} // namespace Aws
AWS_IOT_API DescribeIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIndexResult & WithIndexName(const char *value)
void SetIndexName(const Aws::String &value)
DescribeIndexResult & WithSchema(const char *value)
const Aws::String & GetRequestId() const
DescribeIndexResult & WithSchema(Aws::String &&value)
DescribeIndexResult & WithIndexStatus(const IndexStatus &value)
DescribeIndexResult & WithRequestId(const char *value)
DescribeIndexResult & WithSchema(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetIndexStatus(IndexStatus &&value)
DescribeIndexResult & WithRequestId(Aws::String &&value)
DescribeIndexResult & WithIndexName(Aws::String &&value)
const Aws::String & GetSchema() const
DescribeIndexResult & WithRequestId(const Aws::String &value)
DescribeIndexResult & WithIndexStatus(IndexStatus &&value)
const Aws::String & GetIndexName() const
DescribeIndexResult & WithIndexName(const Aws::String &value)
AWS_IOT_API DescribeIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSchema(const Aws::String &value)
const IndexStatus & GetIndexStatus() const
void SetIndexStatus(const IndexStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue