AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteDataRepositoryAssociationRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace FSx
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteDataRepositoryAssociation"; }
32
33 AWS_FSX_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAssociationId() const { return m_associationId; }
43 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
44 template<typename AssociationIdT = Aws::String>
45 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
46 template<typename AssociationIdT = Aws::String>
47 DeleteDataRepositoryAssociationRequest& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
49
51
52 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
53 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
54 template<typename ClientRequestTokenT = Aws::String>
55 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
56 template<typename ClientRequestTokenT = Aws::String>
57 DeleteDataRepositoryAssociationRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
59
61
65 inline bool GetDeleteDataInFileSystem() const { return m_deleteDataInFileSystem; }
66 inline bool DeleteDataInFileSystemHasBeenSet() const { return m_deleteDataInFileSystemHasBeenSet; }
67 inline void SetDeleteDataInFileSystem(bool value) { m_deleteDataInFileSystemHasBeenSet = true; m_deleteDataInFileSystem = value; }
70 private:
71
72 Aws::String m_associationId;
73 bool m_associationIdHasBeenSet = false;
74
75 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
76 bool m_clientRequestTokenHasBeenSet = true;
77
78 bool m_deleteDataInFileSystem{false};
79 bool m_deleteDataInFileSystemHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace FSx
84} // namespace Aws
DeleteDataRepositoryAssociationRequest & WithClientRequestToken(ClientRequestTokenT &&value)
DeleteDataRepositoryAssociationRequest & WithAssociationId(AssociationIdT &&value)
DeleteDataRepositoryAssociationRequest & WithDeleteDataInFileSystem(bool value)
AWS_FSX_API Aws::String SerializePayload() const override
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String