AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
45 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
46 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
48 inline DeleteDataRepositoryAssociationRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
49 inline DeleteDataRepositoryAssociationRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
51
53
54 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
55 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
56 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
57 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
58 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
63
65
69 inline bool GetDeleteDataInFileSystem() const{ return m_deleteDataInFileSystem; }
70 inline bool DeleteDataInFileSystemHasBeenSet() const { return m_deleteDataInFileSystemHasBeenSet; }
71 inline void SetDeleteDataInFileSystem(bool value) { m_deleteDataInFileSystemHasBeenSet = true; m_deleteDataInFileSystem = value; }
74 private:
75
76 Aws::String m_associationId;
77 bool m_associationIdHasBeenSet = false;
78
79 Aws::String m_clientRequestToken;
80 bool m_clientRequestTokenHasBeenSet = false;
81
82 bool m_deleteDataInFileSystem;
83 bool m_deleteDataInFileSystemHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace FSx
88} // namespace Aws
DeleteDataRepositoryAssociationRequest & WithClientRequestToken(const char *value)
DeleteDataRepositoryAssociationRequest & WithAssociationId(const char *value)
DeleteDataRepositoryAssociationRequest & WithDeleteDataInFileSystem(bool value)
AWS_FSX_API Aws::String SerializePayload() const override
DeleteDataRepositoryAssociationRequest & WithAssociationId(Aws::String &&value)
DeleteDataRepositoryAssociationRequest & WithClientRequestToken(Aws::String &&value)
DeleteDataRepositoryAssociationRequest & WithAssociationId(const Aws::String &value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteDataRepositoryAssociationRequest & WithClientRequestToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String