/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include For more information, see Signature
* Version 4 signing process.See Also:
AWS
* API Reference
The signing region.
*/ inline const Aws::String& GetSigningRegion() const{ return m_signingRegion; } /** *The signing region.
*/ inline bool SigningRegionHasBeenSet() const { return m_signingRegionHasBeenSet; } /** *The signing region.
*/ inline void SetSigningRegion(const Aws::String& value) { m_signingRegionHasBeenSet = true; m_signingRegion = value; } /** *The signing region.
*/ inline void SetSigningRegion(Aws::String&& value) { m_signingRegionHasBeenSet = true; m_signingRegion = std::move(value); } /** *The signing region.
*/ inline void SetSigningRegion(const char* value) { m_signingRegionHasBeenSet = true; m_signingRegion.assign(value); } /** *The signing region.
*/ inline SigV4Authorization& WithSigningRegion(const Aws::String& value) { SetSigningRegion(value); return *this;} /** *The signing region.
*/ inline SigV4Authorization& WithSigningRegion(Aws::String&& value) { SetSigningRegion(std::move(value)); return *this;} /** *The signing region.
*/ inline SigV4Authorization& WithSigningRegion(const char* value) { SetSigningRegion(value); return *this;} /** *The service name to use while signing with Sig V4.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The service name to use while signing with Sig V4.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The service name to use while signing with Sig V4.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The service name to use while signing with Sig V4.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The service name to use while signing with Sig V4.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The service name to use while signing with Sig V4.
*/ inline SigV4Authorization& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The service name to use while signing with Sig V4.
*/ inline SigV4Authorization& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The service name to use while signing with Sig V4.
*/ inline SigV4Authorization& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The ARN of the signing role.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the signing role.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the signing role.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the signing role.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the signing role.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the signing role.
*/ inline SigV4Authorization& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the signing role.
*/ inline SigV4Authorization& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the signing role.
*/ inline SigV4Authorization& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_signingRegion; bool m_signingRegionHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws