AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDataRepositoryAssociationResult.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/DataRepositoryLifecycle.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 FSx
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
41 inline void SetAssociationId(const Aws::String& value) { m_associationId = value; }
42 inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); }
43 inline void SetAssociationId(const char* value) { m_associationId.assign(value); }
45 inline DeleteDataRepositoryAssociationResult& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
46 inline DeleteDataRepositoryAssociationResult& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
48
50
54 inline const DataRepositoryLifecycle& GetLifecycle() const{ return m_lifecycle; }
55 inline void SetLifecycle(const DataRepositoryLifecycle& value) { m_lifecycle = value; }
56 inline void SetLifecycle(DataRepositoryLifecycle&& value) { m_lifecycle = std::move(value); }
60
62
66 inline bool GetDeleteDataInFileSystem() const{ return m_deleteDataInFileSystem; }
67 inline void SetDeleteDataInFileSystem(bool value) { m_deleteDataInFileSystem = value; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline DeleteDataRepositoryAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline DeleteDataRepositoryAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline DeleteDataRepositoryAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_associationId;
84
85 DataRepositoryLifecycle m_lifecycle;
86
87 bool m_deleteDataInFileSystem;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace FSx
94} // namespace Aws
DeleteDataRepositoryAssociationResult & WithAssociationId(const Aws::String &value)
DeleteDataRepositoryAssociationResult & WithAssociationId(const char *value)
DeleteDataRepositoryAssociationResult & WithAssociationId(Aws::String &&value)
DeleteDataRepositoryAssociationResult & WithRequestId(const char *value)
DeleteDataRepositoryAssociationResult & WithLifecycle(DataRepositoryLifecycle &&value)
DeleteDataRepositoryAssociationResult & WithDeleteDataInFileSystem(bool value)
DeleteDataRepositoryAssociationResult & WithRequestId(const Aws::String &value)
DeleteDataRepositoryAssociationResult & WithRequestId(Aws::String &&value)
DeleteDataRepositoryAssociationResult & WithLifecycle(const DataRepositoryLifecycle &value)
AWS_FSX_API DeleteDataRepositoryAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FSX_API DeleteDataRepositoryAssociationResult(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