/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace NimbleStudio { namespace Model { /** */ class UpdateStreamingImageRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API UpdateStreamingImageRequest(); // 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 "UpdateStreamingImage"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline UpdateStreamingImageRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline UpdateStreamingImageRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline UpdateStreamingImageRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description.

*/ inline UpdateStreamingImageRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description.

*/ inline UpdateStreamingImageRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description.

*/ inline UpdateStreamingImageRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name for the streaming image.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the streaming image.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the streaming image.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the streaming image.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the streaming image.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the streaming image.

*/ inline UpdateStreamingImageRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the streaming image.

*/ inline UpdateStreamingImageRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the streaming image.

*/ inline UpdateStreamingImageRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The streaming image ID.

*/ inline const Aws::String& GetStreamingImageId() const{ return m_streamingImageId; } /** *

The streaming image ID.

*/ inline bool StreamingImageIdHasBeenSet() const { return m_streamingImageIdHasBeenSet; } /** *

The streaming image ID.

*/ inline void SetStreamingImageId(const Aws::String& value) { m_streamingImageIdHasBeenSet = true; m_streamingImageId = value; } /** *

The streaming image ID.

*/ inline void SetStreamingImageId(Aws::String&& value) { m_streamingImageIdHasBeenSet = true; m_streamingImageId = std::move(value); } /** *

The streaming image ID.

*/ inline void SetStreamingImageId(const char* value) { m_streamingImageIdHasBeenSet = true; m_streamingImageId.assign(value); } /** *

The streaming image ID.

*/ inline UpdateStreamingImageRequest& WithStreamingImageId(const Aws::String& value) { SetStreamingImageId(value); return *this;} /** *

The streaming image ID.

*/ inline UpdateStreamingImageRequest& WithStreamingImageId(Aws::String&& value) { SetStreamingImageId(std::move(value)); return *this;} /** *

The streaming image ID.

*/ inline UpdateStreamingImageRequest& WithStreamingImageId(const char* value) { SetStreamingImageId(value); return *this;} /** *

The studio ID.

*/ inline const Aws::String& GetStudioId() const{ return m_studioId; } /** *

The studio ID.

*/ inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; } /** *

The studio ID.

*/ inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; } /** *

The studio ID.

*/ inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); } /** *

The studio ID.

*/ inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); } /** *

The studio ID.

*/ inline UpdateStreamingImageRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The studio ID.

*/ inline UpdateStreamingImageRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} /** *

The studio ID.

*/ inline UpdateStreamingImageRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_streamingImageId; bool m_streamingImageIdHasBeenSet = false; Aws::String m_studioId; bool m_studioIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws