7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pricing-plan-manager/PricingPlanManagerRequest.h>
11#include <aws/pricing-plan-manager/PricingPlanManager_EXPORTS.h>
16namespace PricingPlanManager {
29 inline virtual const char*
GetServiceRequestName()
const override {
return "AssociateResourcesToSubscription"; }
41 template <
typename ArnT = Aws::String>
43 m_arnHasBeenSet =
true;
44 m_arn = std::forward<ArnT>(value);
46 template <
typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
59 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
61 m_resourceArnsHasBeenSet =
true;
62 m_resourceArns = std::forward<ResourceArnsT>(value);
64 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
69 template <
typename ResourceArnsT = Aws::String>
71 m_resourceArnsHasBeenSet =
true;
72 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
84 template <
typename IfMatchT = Aws::String>
86 m_ifMatchHasBeenSet =
true;
87 m_ifMatch = std::forward<IfMatchT>(value);
89 template <
typename IfMatchT = Aws::String>
103 template <
typename ClientTokenT = Aws::String>
105 m_clientTokenHasBeenSet =
true;
106 m_clientToken = std::forward<ClientTokenT>(value);
108 template <
typename ClientTokenT = Aws::String>
122 bool m_arnHasBeenSet =
false;
123 bool m_resourceArnsHasBeenSet =
false;
124 bool m_ifMatchHasBeenSet =
false;
125 bool m_clientTokenHasBeenSet =
true;
const Aws::String & GetIfMatch() const
void SetResourceArns(ResourceArnsT &&value)
AssociateResourcesToSubscriptionRequest & WithArn(ArnT &&value)
AWS_PRICINGPLANMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetArn(ArnT &&value)
AssociateResourcesToSubscriptionRequest & AddResourceArns(ResourceArnsT &&value)
bool ArnHasBeenSet() const
AssociateResourcesToSubscriptionRequest & WithIfMatch(IfMatchT &&value)
bool IfMatchHasBeenSet() const
AWS_PRICINGPLANMANAGER_API Aws::String SerializePayload() const override
AssociateResourcesToSubscriptionRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
void SetIfMatch(IfMatchT &&value)
const Aws::Vector< Aws::String > & GetResourceArns() const
bool ClientTokenHasBeenSet() const
bool ResourceArnsHasBeenSet() const
AssociateResourcesToSubscriptionRequest & WithResourceArns(ResourceArnsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
const Aws::String & GetArn() const
AWS_PRICINGPLANMANAGER_API AssociateResourcesToSubscriptionRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
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