7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
46 template<
typename BranchInterfaceIdT = Aws::String>
47 void SetBranchInterfaceId(BranchInterfaceIdT&& value) { m_branchInterfaceIdHasBeenSet =
true; m_branchInterfaceId = std::forward<BranchInterfaceIdT>(value); }
48 template<
typename BranchInterfaceIdT = Aws::String>
58 template<
typename TrunkInterfaceIdT = Aws::String>
59 void SetTrunkInterfaceId(TrunkInterfaceIdT&& value) { m_trunkInterfaceIdHasBeenSet =
true; m_trunkInterfaceId = std::forward<TrunkInterfaceIdT>(value); }
60 template<
typename TrunkInterfaceIdT = Aws::String>
70 inline void SetVlanId(
int value) { m_vlanIdHasBeenSet =
true; m_vlanId = value; }
80 inline void SetGreKey(
int value) { m_greKeyHasBeenSet =
true; m_greKey = value; }
93 template<
typename ClientTokenT = Aws::String>
94 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
95 template<
typename ClientTokenT = Aws::String>
108 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
114 bool m_branchInterfaceIdHasBeenSet =
false;
117 bool m_trunkInterfaceIdHasBeenSet =
false;
120 bool m_vlanIdHasBeenSet =
false;
123 bool m_greKeyHasBeenSet =
false;
126 bool m_clientTokenHasBeenSet =
true;
128 bool m_dryRun{
false};
129 bool m_dryRunHasBeenSet =
false;
AssociateTrunkInterfaceRequest & WithClientToken(ClientTokenT &&value)
AssociateTrunkInterfaceRequest & WithDryRun(bool value)
void SetBranchInterfaceId(BranchInterfaceIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AssociateTrunkInterfaceRequest & WithVlanId(int value)
const Aws::String & GetClientToken() const
void SetDryRun(bool value)
AWS_EC2_API AssociateTrunkInterfaceRequest()=default
void SetVlanId(int value)
bool ClientTokenHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
AssociateTrunkInterfaceRequest & WithGreKey(int value)
bool DryRunHasBeenSet() const
bool TrunkInterfaceIdHasBeenSet() const
const Aws::String & GetTrunkInterfaceId() const
bool GreKeyHasBeenSet() const
void SetGreKey(int value)
bool BranchInterfaceIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
void SetTrunkInterfaceId(TrunkInterfaceIdT &&value)
AssociateTrunkInterfaceRequest & WithTrunkInterfaceId(TrunkInterfaceIdT &&value)
bool VlanIdHasBeenSet() const
AssociateTrunkInterfaceRequest & WithBranchInterfaceId(BranchInterfaceIdT &&value)
const Aws::String & GetBranchInterfaceId() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String