/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Amazon Web Service such as Amazon S3 or CloudTrail. For an
* example of how to find an Amazon Web Service name and how to define it in your
* assessment scope, see the following: Finding
* an Amazon Web Service name to use in your assessment scope Defining
* an Amazon Web Service name in your assessment scope
See Also:
AWS
* API Reference
The name of the Amazon Web Service.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the Amazon Web Service.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the Amazon Web Service.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the Amazon Web Service.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the Amazon Web Service.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the Amazon Web Service.
*/ inline AWSService& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the Amazon Web Service.
*/ inline AWSService& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the Amazon Web Service.
*/ inline AWSService& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws