AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteIndexResult.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 DeleteIndexResult();
35
36
38
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline DeleteIndexResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline DeleteIndexResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline DeleteIndexResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
59 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
60 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
61 inline DeleteIndexResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
62 inline DeleteIndexResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
64
66
69 inline const IndexState& GetState() const{ return m_state; }
70 inline void SetState(const IndexState& value) { m_state = value; }
71 inline void SetState(IndexState&& value) { m_state = std::move(value); }
72 inline DeleteIndexResult& WithState(const IndexState& value) { SetState(value); return *this;}
73 inline DeleteIndexResult& WithState(IndexState&& value) { SetState(std::move(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DeleteIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline DeleteIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline DeleteIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_arn;
89
90 Aws::Utils::DateTime m_lastUpdatedAt;
91
92 IndexState m_state;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace ResourceExplorer2
99} // namespace Aws
DeleteIndexResult & WithState(IndexState &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_RESOURCEEXPLORER2_API DeleteIndexResult()
DeleteIndexResult & WithRequestId(const Aws::String &value)
DeleteIndexResult & WithArn(const Aws::String &value)
DeleteIndexResult & WithArn(const char *value)
DeleteIndexResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
DeleteIndexResult & WithRequestId(const char *value)
DeleteIndexResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
DeleteIndexResult & WithArn(Aws::String &&value)
DeleteIndexResult & WithState(const IndexState &value)
AWS_RESOURCEEXPLORER2_API DeleteIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESOURCEEXPLORER2_API DeleteIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteIndexResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue