7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrass/model/Subscription.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateSubscriptionDefinitionVersion"; }
47 inline void SetAmznClientToken(
const char* value) { m_amznClientTokenHasBeenSet =
true; m_amznClientToken.assign(value); }
61 inline void SetSubscriptionDefinitionId(
const char* value) { m_subscriptionDefinitionIdHasBeenSet =
true; m_subscriptionDefinitionId.assign(value); }
83 bool m_amznClientTokenHasBeenSet =
false;
86 bool m_subscriptionDefinitionIdHasBeenSet =
false;
89 bool m_subscriptionsHasBeenSet =
false;
void SetSubscriptionDefinitionId(const char *value)
CreateSubscriptionDefinitionVersionRequest & AddSubscriptions(Subscription &&value)
bool SubscriptionsHasBeenSet() const
void SetAmznClientToken(Aws::String &&value)
void SetSubscriptions(const Aws::Vector< Subscription > &value)
CreateSubscriptionDefinitionVersionRequest & WithSubscriptionDefinitionId(Aws::String &&value)
void SetAmznClientToken(const char *value)
CreateSubscriptionDefinitionVersionRequest & WithSubscriptions(const Aws::Vector< Subscription > &value)
const Aws::String & GetSubscriptionDefinitionId() const
AWS_GREENGRASS_API Aws::String SerializePayload() const override
void SetSubscriptionDefinitionId(const Aws::String &value)
bool AmznClientTokenHasBeenSet() const
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
CreateSubscriptionDefinitionVersionRequest & WithSubscriptions(Aws::Vector< Subscription > &&value)
bool SubscriptionDefinitionIdHasBeenSet() const
const Aws::String & GetAmznClientToken() const
CreateSubscriptionDefinitionVersionRequest & WithAmznClientToken(const Aws::String &value)
CreateSubscriptionDefinitionVersionRequest & WithAmznClientToken(Aws::String &&value)
AWS_GREENGRASS_API CreateSubscriptionDefinitionVersionRequest()
CreateSubscriptionDefinitionVersionRequest & AddSubscriptions(const Subscription &value)
CreateSubscriptionDefinitionVersionRequest & WithSubscriptionDefinitionId(const Aws::String &value)
CreateSubscriptionDefinitionVersionRequest & WithSubscriptionDefinitionId(const char *value)
const Aws::Vector< Subscription > & GetSubscriptions() const
void SetSubscriptionDefinitionId(Aws::String &&value)
void SetAmznClientToken(const Aws::String &value)
void SetSubscriptions(Aws::Vector< Subscription > &&value)
CreateSubscriptionDefinitionVersionRequest & WithAmznClientToken(const char *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