/** * 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 Lightsail { namespace Model { /** */ class GetBucketAccessKeysRequest : public LightsailRequest { public: AWS_LIGHTSAIL_API GetBucketAccessKeysRequest(); // 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 "GetBucketAccessKeys"; } AWS_LIGHTSAIL_API Aws::String SerializePayload() const override; AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the bucket for which to return access keys.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The name of the bucket for which to return access keys.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The name of the bucket for which to return access keys.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The name of the bucket for which to return access keys.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The name of the bucket for which to return access keys.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The name of the bucket for which to return access keys.

*/ inline GetBucketAccessKeysRequest& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The name of the bucket for which to return access keys.

*/ inline GetBucketAccessKeysRequest& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The name of the bucket for which to return access keys.

*/ inline GetBucketAccessKeysRequest& WithBucketName(const char* value) { SetBucketName(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws