AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateFileSystemAliasesRequest.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 "AssociateFileSystemAliases"; }
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 AssociateFileSystemAliasesRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
54
56
60 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
61 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
62 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
63 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
64 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
66 inline AssociateFileSystemAliasesRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
67 inline AssociateFileSystemAliasesRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
69
71
83 inline const Aws::Vector<Aws::String>& GetAliases() const{ return m_aliases; }
84 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
85 inline void SetAliases(const Aws::Vector<Aws::String>& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
86 inline void SetAliases(Aws::Vector<Aws::String>&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
88 inline AssociateFileSystemAliasesRequest& WithAliases(Aws::Vector<Aws::String>&& value) { SetAliases(std::move(value)); return *this;}
89 inline AssociateFileSystemAliasesRequest& AddAliases(const Aws::String& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; }
90 inline AssociateFileSystemAliasesRequest& AddAliases(Aws::String&& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(std::move(value)); return *this; }
91 inline AssociateFileSystemAliasesRequest& AddAliases(const char* value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; }
93 private:
94
95 Aws::String m_clientRequestToken;
96 bool m_clientRequestTokenHasBeenSet = false;
97
98 Aws::String m_fileSystemId;
99 bool m_fileSystemIdHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_aliases;
102 bool m_aliasesHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace FSx
107} // namespace Aws
AssociateFileSystemAliasesRequest & WithFileSystemId(Aws::String &&value)
AssociateFileSystemAliasesRequest & AddAliases(const Aws::String &value)
AssociateFileSystemAliasesRequest & AddAliases(const char *value)
void SetAliases(const Aws::Vector< Aws::String > &value)
AssociateFileSystemAliasesRequest & WithAliases(Aws::Vector< Aws::String > &&value)
AssociateFileSystemAliasesRequest & WithFileSystemId(const char *value)
AssociateFileSystemAliasesRequest & WithClientRequestToken(const Aws::String &value)
AssociateFileSystemAliasesRequest & WithClientRequestToken(Aws::String &&value)
AWS_FSX_API Aws::String SerializePayload() const override
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateFileSystemAliasesRequest & AddAliases(Aws::String &&value)
AssociateFileSystemAliasesRequest & WithFileSystemId(const Aws::String &value)
AssociateFileSystemAliasesRequest & WithClientRequestToken(const char *value)
AssociateFileSystemAliasesRequest & WithAliases(const Aws::Vector< 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