AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateSharedVpcConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/FSxRequest.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace FSx {
16namespace Model {
17
21 public:
22 AWS_FSX_API UpdateSharedVpcConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSharedVpcConfiguration"; }
29
30 AWS_FSX_API Aws::String SerializePayload() const override;
31
33
35
41 return m_enableFsxRouteTableUpdatesFromParticipantAccounts;
42 }
44 return m_enableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet;
45 }
46 template <typename EnableFsxRouteTableUpdatesFromParticipantAccountsT = Aws::String>
47 void SetEnableFsxRouteTableUpdatesFromParticipantAccounts(EnableFsxRouteTableUpdatesFromParticipantAccountsT&& value) {
48 m_enableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet = true;
49 m_enableFsxRouteTableUpdatesFromParticipantAccounts = std::forward<EnableFsxRouteTableUpdatesFromParticipantAccountsT>(value);
50 }
51 template <typename EnableFsxRouteTableUpdatesFromParticipantAccountsT = Aws::String>
53 EnableFsxRouteTableUpdatesFromParticipantAccountsT&& value) {
54 SetEnableFsxRouteTableUpdatesFromParticipantAccounts(std::forward<EnableFsxRouteTableUpdatesFromParticipantAccountsT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
62 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
63 template <typename ClientRequestTokenT = Aws::String>
64 void SetClientRequestToken(ClientRequestTokenT&& value) {
65 m_clientRequestTokenHasBeenSet = true;
66 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
67 }
68 template <typename ClientRequestTokenT = Aws::String>
70 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_enableFsxRouteTableUpdatesFromParticipantAccounts;
76
77 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
78 bool m_enableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet = false;
79 bool m_clientRequestTokenHasBeenSet = true;
80};
81
82} // namespace Model
83} // namespace FSx
84} // namespace Aws
UpdateSharedVpcConfigurationRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
UpdateSharedVpcConfigurationRequest & WithEnableFsxRouteTableUpdatesFromParticipantAccounts(EnableFsxRouteTableUpdatesFromParticipantAccountsT &&value)
void SetEnableFsxRouteTableUpdatesFromParticipantAccounts(EnableFsxRouteTableUpdatesFromParticipantAccountsT &&value)
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