AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 DeleteIndexResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
57 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
58 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
59 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
60 DeleteIndexResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
62
64
67 inline IndexState GetState() const { return m_state; }
68 inline void SetState(IndexState value) { m_stateHasBeenSet = true; m_state = value; }
69 inline DeleteIndexResult& WithState(IndexState value) { SetState(value); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 DeleteIndexResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_arn;
83 bool m_arnHasBeenSet = false;
84
85 Aws::Utils::DateTime m_lastUpdatedAt{};
86 bool m_lastUpdatedAtHasBeenSet = false;
87
89 bool m_stateHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ResourceExplorer2
97} // namespace Aws
AWS_RESOURCEEXPLORER2_API DeleteIndexResult()=default
const Aws::Utils::DateTime & GetLastUpdatedAt() const
DeleteIndexResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
DeleteIndexResult & WithState(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 & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue