/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Greengrass { namespace Model { /** */ class CreateGroupVersionRequest : public GreengrassRequest { public: AWS_GREENGRASS_API CreateGroupVersionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateGroupVersion"; } AWS_GREENGRASS_API Aws::String SerializePayload() const override; AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * A client token used to correlate requests and responses. */ inline const Aws::String& GetAmznClientToken() const{ return m_amznClientToken; } /** * A client token used to correlate requests and responses. */ inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; } /** * A client token used to correlate requests and responses. */ inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; } /** * A client token used to correlate requests and responses. */ inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); } /** * A client token used to correlate requests and responses. */ inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); } /** * A client token used to correlate requests and responses. */ inline CreateGroupVersionRequest& WithAmznClientToken(const Aws::String& value) { SetAmznClientToken(value); return *this;} /** * A client token used to correlate requests and responses. */ inline CreateGroupVersionRequest& WithAmznClientToken(Aws::String&& value) { SetAmznClientToken(std::move(value)); return *this;} /** * A client token used to correlate requests and responses. */ inline CreateGroupVersionRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;} /** * The ARN of the connector definition version for this group. */ inline const Aws::String& GetConnectorDefinitionVersionArn() const{ return m_connectorDefinitionVersionArn; } /** * The ARN of the connector definition version for this group. */ inline bool ConnectorDefinitionVersionArnHasBeenSet() const { return m_connectorDefinitionVersionArnHasBeenSet; } /** * The ARN of the connector definition version for this group. */ inline void SetConnectorDefinitionVersionArn(const Aws::String& value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn = value; } /** * The ARN of the connector definition version for this group. */ inline void SetConnectorDefinitionVersionArn(Aws::String&& value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn = std::move(value); } /** * The ARN of the connector definition version for this group. */ inline void SetConnectorDefinitionVersionArn(const char* value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn.assign(value); } /** * The ARN of the connector definition version for this group. */ inline CreateGroupVersionRequest& WithConnectorDefinitionVersionArn(const Aws::String& value) { SetConnectorDefinitionVersionArn(value); return *this;} /** * The ARN of the connector definition version for this group. */ inline CreateGroupVersionRequest& WithConnectorDefinitionVersionArn(Aws::String&& value) { SetConnectorDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the connector definition version for this group. */ inline CreateGroupVersionRequest& WithConnectorDefinitionVersionArn(const char* value) { SetConnectorDefinitionVersionArn(value); return *this;} /** * The ARN of the core definition version for this group. */ inline const Aws::String& GetCoreDefinitionVersionArn() const{ return m_coreDefinitionVersionArn; } /** * The ARN of the core definition version for this group. */ inline bool CoreDefinitionVersionArnHasBeenSet() const { return m_coreDefinitionVersionArnHasBeenSet; } /** * The ARN of the core definition version for this group. */ inline void SetCoreDefinitionVersionArn(const Aws::String& value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn = value; } /** * The ARN of the core definition version for this group. */ inline void SetCoreDefinitionVersionArn(Aws::String&& value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn = std::move(value); } /** * The ARN of the core definition version for this group. */ inline void SetCoreDefinitionVersionArn(const char* value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn.assign(value); } /** * The ARN of the core definition version for this group. */ inline CreateGroupVersionRequest& WithCoreDefinitionVersionArn(const Aws::String& value) { SetCoreDefinitionVersionArn(value); return *this;} /** * The ARN of the core definition version for this group. */ inline CreateGroupVersionRequest& WithCoreDefinitionVersionArn(Aws::String&& value) { SetCoreDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the core definition version for this group. */ inline CreateGroupVersionRequest& WithCoreDefinitionVersionArn(const char* value) { SetCoreDefinitionVersionArn(value); return *this;} /** * The ARN of the device definition version for this group. */ inline const Aws::String& GetDeviceDefinitionVersionArn() const{ return m_deviceDefinitionVersionArn; } /** * The ARN of the device definition version for this group. */ inline bool DeviceDefinitionVersionArnHasBeenSet() const { return m_deviceDefinitionVersionArnHasBeenSet; } /** * The ARN of the device definition version for this group. */ inline void SetDeviceDefinitionVersionArn(const Aws::String& value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn = value; } /** * The ARN of the device definition version for this group. */ inline void SetDeviceDefinitionVersionArn(Aws::String&& value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn = std::move(value); } /** * The ARN of the device definition version for this group. */ inline void SetDeviceDefinitionVersionArn(const char* value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn.assign(value); } /** * The ARN of the device definition version for this group. */ inline CreateGroupVersionRequest& WithDeviceDefinitionVersionArn(const Aws::String& value) { SetDeviceDefinitionVersionArn(value); return *this;} /** * The ARN of the device definition version for this group. */ inline CreateGroupVersionRequest& WithDeviceDefinitionVersionArn(Aws::String&& value) { SetDeviceDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the device definition version for this group. */ inline CreateGroupVersionRequest& WithDeviceDefinitionVersionArn(const char* value) { SetDeviceDefinitionVersionArn(value); return *this;} /** * The ARN of the function definition version for this group. */ inline const Aws::String& GetFunctionDefinitionVersionArn() const{ return m_functionDefinitionVersionArn; } /** * The ARN of the function definition version for this group. */ inline bool FunctionDefinitionVersionArnHasBeenSet() const { return m_functionDefinitionVersionArnHasBeenSet; } /** * The ARN of the function definition version for this group. */ inline void SetFunctionDefinitionVersionArn(const Aws::String& value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn = value; } /** * The ARN of the function definition version for this group. */ inline void SetFunctionDefinitionVersionArn(Aws::String&& value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn = std::move(value); } /** * The ARN of the function definition version for this group. */ inline void SetFunctionDefinitionVersionArn(const char* value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn.assign(value); } /** * The ARN of the function definition version for this group. */ inline CreateGroupVersionRequest& WithFunctionDefinitionVersionArn(const Aws::String& value) { SetFunctionDefinitionVersionArn(value); return *this;} /** * The ARN of the function definition version for this group. */ inline CreateGroupVersionRequest& WithFunctionDefinitionVersionArn(Aws::String&& value) { SetFunctionDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the function definition version for this group. */ inline CreateGroupVersionRequest& WithFunctionDefinitionVersionArn(const char* value) { SetFunctionDefinitionVersionArn(value); return *this;} /** * The ID of the Greengrass group. */ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** * The ID of the Greengrass group. */ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** * The ID of the Greengrass group. */ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** * The ID of the Greengrass group. */ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** * The ID of the Greengrass group. */ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** * The ID of the Greengrass group. */ inline CreateGroupVersionRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** * The ID of the Greengrass group. */ inline CreateGroupVersionRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** * The ID of the Greengrass group. */ inline CreateGroupVersionRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** * The ARN of the logger definition version for this group. */ inline const Aws::String& GetLoggerDefinitionVersionArn() const{ return m_loggerDefinitionVersionArn; } /** * The ARN of the logger definition version for this group. */ inline bool LoggerDefinitionVersionArnHasBeenSet() const { return m_loggerDefinitionVersionArnHasBeenSet; } /** * The ARN of the logger definition version for this group. */ inline void SetLoggerDefinitionVersionArn(const Aws::String& value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn = value; } /** * The ARN of the logger definition version for this group. */ inline void SetLoggerDefinitionVersionArn(Aws::String&& value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn = std::move(value); } /** * The ARN of the logger definition version for this group. */ inline void SetLoggerDefinitionVersionArn(const char* value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn.assign(value); } /** * The ARN of the logger definition version for this group. */ inline CreateGroupVersionRequest& WithLoggerDefinitionVersionArn(const Aws::String& value) { SetLoggerDefinitionVersionArn(value); return *this;} /** * The ARN of the logger definition version for this group. */ inline CreateGroupVersionRequest& WithLoggerDefinitionVersionArn(Aws::String&& value) { SetLoggerDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the logger definition version for this group. */ inline CreateGroupVersionRequest& WithLoggerDefinitionVersionArn(const char* value) { SetLoggerDefinitionVersionArn(value); return *this;} /** * The ARN of the resource definition version for this group. */ inline const Aws::String& GetResourceDefinitionVersionArn() const{ return m_resourceDefinitionVersionArn; } /** * The ARN of the resource definition version for this group. */ inline bool ResourceDefinitionVersionArnHasBeenSet() const { return m_resourceDefinitionVersionArnHasBeenSet; } /** * The ARN of the resource definition version for this group. */ inline void SetResourceDefinitionVersionArn(const Aws::String& value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn = value; } /** * The ARN of the resource definition version for this group. */ inline void SetResourceDefinitionVersionArn(Aws::String&& value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn = std::move(value); } /** * The ARN of the resource definition version for this group. */ inline void SetResourceDefinitionVersionArn(const char* value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn.assign(value); } /** * The ARN of the resource definition version for this group. */ inline CreateGroupVersionRequest& WithResourceDefinitionVersionArn(const Aws::String& value) { SetResourceDefinitionVersionArn(value); return *this;} /** * The ARN of the resource definition version for this group. */ inline CreateGroupVersionRequest& WithResourceDefinitionVersionArn(Aws::String&& value) { SetResourceDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the resource definition version for this group. */ inline CreateGroupVersionRequest& WithResourceDefinitionVersionArn(const char* value) { SetResourceDefinitionVersionArn(value); return *this;} /** * The ARN of the subscription definition version for this group. */ inline const Aws::String& GetSubscriptionDefinitionVersionArn() const{ return m_subscriptionDefinitionVersionArn; } /** * The ARN of the subscription definition version for this group. */ inline bool SubscriptionDefinitionVersionArnHasBeenSet() const { return m_subscriptionDefinitionVersionArnHasBeenSet; } /** * The ARN of the subscription definition version for this group. */ inline void SetSubscriptionDefinitionVersionArn(const Aws::String& value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn = value; } /** * The ARN of the subscription definition version for this group. */ inline void SetSubscriptionDefinitionVersionArn(Aws::String&& value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn = std::move(value); } /** * The ARN of the subscription definition version for this group. */ inline void SetSubscriptionDefinitionVersionArn(const char* value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn.assign(value); } /** * The ARN of the subscription definition version for this group. */ inline CreateGroupVersionRequest& WithSubscriptionDefinitionVersionArn(const Aws::String& value) { SetSubscriptionDefinitionVersionArn(value); return *this;} /** * The ARN of the subscription definition version for this group. */ inline CreateGroupVersionRequest& WithSubscriptionDefinitionVersionArn(Aws::String&& value) { SetSubscriptionDefinitionVersionArn(std::move(value)); return *this;} /** * The ARN of the subscription definition version for this group. */ inline CreateGroupVersionRequest& WithSubscriptionDefinitionVersionArn(const char* value) { SetSubscriptionDefinitionVersionArn(value); return *this;} private: Aws::String m_amznClientToken; bool m_amznClientTokenHasBeenSet = false; Aws::String m_connectorDefinitionVersionArn; bool m_connectorDefinitionVersionArnHasBeenSet = false; Aws::String m_coreDefinitionVersionArn; bool m_coreDefinitionVersionArnHasBeenSet = false; Aws::String m_deviceDefinitionVersionArn; bool m_deviceDefinitionVersionArnHasBeenSet = false; Aws::String m_functionDefinitionVersionArn; bool m_functionDefinitionVersionArnHasBeenSet = false; Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::String m_loggerDefinitionVersionArn; bool m_loggerDefinitionVersionArnHasBeenSet = false; Aws::String m_resourceDefinitionVersionArn; bool m_resourceDefinitionVersionArnHasBeenSet = false; Aws::String m_subscriptionDefinitionVersionArn; bool m_subscriptionDefinitionVersionArnHasBeenSet = false; }; } // namespace Model } // namespace Greengrass } // namespace Aws