AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSharedVpcConfigurationRequest.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:
25 AWS_FSX_API UpdateSharedVpcConfigurationRequest() = default;
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 "UpdateSharedVpcConfiguration"; }
32
33 AWS_FSX_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetEnableFsxRouteTableUpdatesFromParticipantAccounts() const { return m_enableFsxRouteTableUpdatesFromParticipantAccounts; }
45 inline bool EnableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet() const { return m_enableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet; }
46 template<typename EnableFsxRouteTableUpdatesFromParticipantAccountsT = Aws::String>
47 void SetEnableFsxRouteTableUpdatesFromParticipantAccounts(EnableFsxRouteTableUpdatesFromParticipantAccountsT&& value) { m_enableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet = true; m_enableFsxRouteTableUpdatesFromParticipantAccounts = std::forward<EnableFsxRouteTableUpdatesFromParticipantAccountsT>(value); }
48 template<typename EnableFsxRouteTableUpdatesFromParticipantAccountsT = Aws::String>
49 UpdateSharedVpcConfigurationRequest& WithEnableFsxRouteTableUpdatesFromParticipantAccounts(EnableFsxRouteTableUpdatesFromParticipantAccountsT&& value) { SetEnableFsxRouteTableUpdatesFromParticipantAccounts(std::forward<EnableFsxRouteTableUpdatesFromParticipantAccountsT>(value)); return *this;}
51
53
54 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
55 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
56 template<typename ClientRequestTokenT = Aws::String>
57 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
58 template<typename ClientRequestTokenT = Aws::String>
59 UpdateSharedVpcConfigurationRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
61 private:
62
63 Aws::String m_enableFsxRouteTableUpdatesFromParticipantAccounts;
64 bool m_enableFsxRouteTableUpdatesFromParticipantAccountsHasBeenSet = false;
65
66 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
67 bool m_clientRequestTokenHasBeenSet = true;
68 };
69
70} // namespace Model
71} // namespace FSx
72} // 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