AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateFileSystemAliasesRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace FSx
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DisassociateFileSystemAliases"; }
37
38 AWS_FSX_API Aws::String SerializePayload() const override;
39
41
42
44
45 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
46 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
47 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
48 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
49 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
52 inline DisassociateFileSystemAliasesRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
54
56
59 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
60 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
61 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
62 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
63 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
65 inline DisassociateFileSystemAliasesRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
66 inline DisassociateFileSystemAliasesRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetAliases() const{ return m_aliases; }
75 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
76 inline void SetAliases(const Aws::Vector<Aws::String>& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
77 inline void SetAliases(Aws::Vector<Aws::String>&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
79 inline DisassociateFileSystemAliasesRequest& WithAliases(Aws::Vector<Aws::String>&& value) { SetAliases(std::move(value)); return *this;}
80 inline DisassociateFileSystemAliasesRequest& AddAliases(const Aws::String& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; }
81 inline DisassociateFileSystemAliasesRequest& AddAliases(Aws::String&& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(std::move(value)); return *this; }
82 inline DisassociateFileSystemAliasesRequest& AddAliases(const char* value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; }
84 private:
85
86 Aws::String m_clientRequestToken;
87 bool m_clientRequestTokenHasBeenSet = false;
88
89 Aws::String m_fileSystemId;
90 bool m_fileSystemIdHasBeenSet = false;
91
93 bool m_aliasesHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace FSx
98} // namespace Aws
DisassociateFileSystemAliasesRequest & WithClientRequestToken(Aws::String &&value)
DisassociateFileSystemAliasesRequest & AddAliases(Aws::String &&value)
AWS_FSX_API Aws::String SerializePayload() const override
DisassociateFileSystemAliasesRequest & WithAliases(const Aws::Vector< Aws::String > &value)
DisassociateFileSystemAliasesRequest & WithClientRequestToken(const Aws::String &value)
DisassociateFileSystemAliasesRequest & WithClientRequestToken(const char *value)
DisassociateFileSystemAliasesRequest & AddAliases(const char *value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateFileSystemAliasesRequest & WithFileSystemId(const Aws::String &value)
DisassociateFileSystemAliasesRequest & WithFileSystemId(const char *value)
DisassociateFileSystemAliasesRequest & WithAliases(Aws::Vector< Aws::String > &&value)
DisassociateFileSystemAliasesRequest & AddAliases(const Aws::String &value)
DisassociateFileSystemAliasesRequest & WithFileSystemId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector