AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIndexResult.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/resource-explorer-2/model/IndexState.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 ResourceExplorer2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_RESOURCEEXPLORER2_API CreateIndexResult();
35
36
38
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline CreateIndexResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline CreateIndexResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline CreateIndexResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
58 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
59 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
60 inline CreateIndexResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
61 inline CreateIndexResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
63
65
72 inline const IndexState& GetState() const{ return m_state; }
73 inline void SetState(const IndexState& value) { m_state = value; }
74 inline void SetState(IndexState&& value) { m_state = std::move(value); }
75 inline CreateIndexResult& WithState(const IndexState& value) { SetState(value); return *this;}
76 inline CreateIndexResult& WithState(IndexState&& value) { SetState(std::move(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline CreateIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline CreateIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline CreateIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_arn;
92
93 Aws::Utils::DateTime m_createdAt;
94
95 IndexState m_state;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace ResourceExplorer2
102} // namespace Aws
CreateIndexResult & WithRequestId(Aws::String &&value)
CreateIndexResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateIndexResult & WithArn(const Aws::String &value)
CreateIndexResult & WithRequestId(const Aws::String &value)
CreateIndexResult & WithState(const IndexState &value)
CreateIndexResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_RESOURCEEXPLORER2_API CreateIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateIndexResult & WithState(IndexState &&value)
AWS_RESOURCEEXPLORER2_API CreateIndexResult()
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateIndexResult & WithRequestId(const char *value)
CreateIndexResult & WithArn(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateIndexResult & WithArn(Aws::String &&value)
AWS_RESOURCEEXPLORER2_API CreateIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue