7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/globalaccelerator/model/Resource.h>
16namespace GlobalAccelerator
45 template<
typename AttachmentArnT = Aws::String>
46 void SetAttachmentArn(AttachmentArnT&& value) { m_attachmentArnHasBeenSet =
true; m_attachmentArn = std::forward<AttachmentArnT>(value); }
47 template<
typename AttachmentArnT = Aws::String>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
73 template<
typename AddPrincipalsT = Aws::Vector<Aws::String>>
74 void SetAddPrincipals(AddPrincipalsT&& value) { m_addPrincipalsHasBeenSet =
true; m_addPrincipals = std::forward<AddPrincipalsT>(value); }
75 template<
typename AddPrincipalsT = Aws::Vector<Aws::String>>
77 template<
typename AddPrincipalsT = Aws::String>
91 template<
typename RemovePrincipalsT = Aws::Vector<Aws::String>>
92 void SetRemovePrincipals(RemovePrincipalsT&& value) { m_removePrincipalsHasBeenSet =
true; m_removePrincipals = std::forward<RemovePrincipalsT>(value); }
93 template<
typename RemovePrincipalsT = Aws::Vector<Aws::String>>
95 template<
typename RemovePrincipalsT = Aws::String>
108 template<
typename AddResourcesT = Aws::Vector<Resource>>
109 void SetAddResources(AddResourcesT&& value) { m_addResourcesHasBeenSet =
true; m_addResources = std::forward<AddResourcesT>(value); }
110 template<
typename AddResourcesT = Aws::Vector<Resource>>
112 template<
typename AddResourcesT = Resource>
125 template<
typename RemoveResourcesT = Aws::Vector<Resource>>
126 void SetRemoveResources(RemoveResourcesT&& value) { m_removeResourcesHasBeenSet =
true; m_removeResources = std::forward<RemoveResourcesT>(value); }
127 template<
typename RemoveResourcesT = Aws::Vector<Resource>>
129 template<
typename RemoveResourcesT = Resource>
135 bool m_attachmentArnHasBeenSet =
false;
138 bool m_nameHasBeenSet =
false;
141 bool m_addPrincipalsHasBeenSet =
false;
144 bool m_removePrincipalsHasBeenSet =
false;
147 bool m_addResourcesHasBeenSet =
false;
150 bool m_removeResourcesHasBeenSet =
false;
UpdateCrossAccountAttachmentRequest & WithAddPrincipals(AddPrincipalsT &&value)
void SetRemovePrincipals(RemovePrincipalsT &&value)
bool AttachmentArnHasBeenSet() const
AWS_GLOBALACCELERATOR_API UpdateCrossAccountAttachmentRequest()=default
UpdateCrossAccountAttachmentRequest & WithName(NameT &&value)
const Aws::Vector< Resource > & GetRemoveResources() const
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateCrossAccountAttachmentRequest & WithAttachmentArn(AttachmentArnT &&value)
const Aws::Vector< Aws::String > & GetRemovePrincipals() const
bool NameHasBeenSet() const
void SetAttachmentArn(AttachmentArnT &&value)
UpdateCrossAccountAttachmentRequest & AddRemoveResources(RemoveResourcesT &&value)
UpdateCrossAccountAttachmentRequest & AddAddResources(AddResourcesT &&value)
UpdateCrossAccountAttachmentRequest & AddRemovePrincipals(RemovePrincipalsT &&value)
const Aws::Vector< Aws::String > & GetAddPrincipals() const
bool AddResourcesHasBeenSet() const
UpdateCrossAccountAttachmentRequest & AddAddPrincipals(AddPrincipalsT &&value)
void SetName(NameT &&value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
UpdateCrossAccountAttachmentRequest & WithRemovePrincipals(RemovePrincipalsT &&value)
bool RemoveResourcesHasBeenSet() const
const Aws::Vector< Resource > & GetAddResources() const
const Aws::String & GetAttachmentArn() const
bool AddPrincipalsHasBeenSet() const
const Aws::String & GetName() const
void SetAddPrincipals(AddPrincipalsT &&value)
void SetAddResources(AddResourcesT &&value)
bool RemovePrincipalsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetRemoveResources(RemoveResourcesT &&value)
UpdateCrossAccountAttachmentRequest & WithRemoveResources(RemoveResourcesT &&value)
UpdateCrossAccountAttachmentRequest & WithAddResources(AddResourcesT &&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