220 lines
8.3 KiB
C
220 lines
8.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/license-manager/LicenseManager_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/license-manager/model/OrganizationConfiguration.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace LicenseManager
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_LICENSEMANAGER_API GetServiceSettingsResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetServiceSettingsResult();
|
|||
|
|
GetServiceSettingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetServiceSettingsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetS3BucketArn(const char* value) { m_s3BucketArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Regional S3 bucket path for storing reports, license trail event data,
|
|||
|
|
* discovery data, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSnsTopicArn(const char* value) { m_snsTopicArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SNS topic configured to receive notifications from License Manager.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether AWS Organizations has been integrated with License Manager
|
|||
|
|
* for cross-account discovery.</p>
|
|||
|
|
*/
|
|||
|
|
inline const OrganizationConfiguration& GetOrganizationConfiguration() const{ return m_organizationConfiguration; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether AWS Organizations has been integrated with License Manager
|
|||
|
|
* for cross-account discovery.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOrganizationConfiguration(const OrganizationConfiguration& value) { m_organizationConfiguration = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether AWS Organizations has been integrated with License Manager
|
|||
|
|
* for cross-account discovery.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOrganizationConfiguration(OrganizationConfiguration&& value) { m_organizationConfiguration = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether AWS Organizations has been integrated with License Manager
|
|||
|
|
* for cross-account discovery.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithOrganizationConfiguration(const OrganizationConfiguration& value) { SetOrganizationConfiguration(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether AWS Organizations has been integrated with License Manager
|
|||
|
|
* for cross-account discovery.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithOrganizationConfiguration(OrganizationConfiguration&& value) { SetOrganizationConfiguration(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether cross-account discovery has been enabled.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool GetEnableCrossAccountsDiscovery() const{ return m_enableCrossAccountsDiscovery; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether cross-account discovery has been enabled.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEnableCrossAccountsDiscovery(bool value) { m_enableCrossAccountsDiscovery = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether cross-account discovery has been enabled.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithEnableCrossAccountsDiscovery(bool value) { SetEnableCrossAccountsDiscovery(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLicenseManagerResourceShareArn() const{ return m_licenseManagerResourceShareArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLicenseManagerResourceShareArn(const Aws::String& value) { m_licenseManagerResourceShareArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLicenseManagerResourceShareArn(Aws::String&& value) { m_licenseManagerResourceShareArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLicenseManagerResourceShareArn(const char* value) { m_licenseManagerResourceShareArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithLicenseManagerResourceShareArn(const Aws::String& value) { SetLicenseManagerResourceShareArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithLicenseManagerResourceShareArn(Aws::String&& value) { SetLicenseManagerResourceShareArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Amazon Resource Name (ARN) of the AWS resource share. The License Manager
|
|||
|
|
* master account will provide member accounts with access to this share.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetServiceSettingsResult& WithLicenseManagerResourceShareArn(const char* value) { SetLicenseManagerResourceShareArn(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_s3BucketArn;
|
|||
|
|
|
|||
|
|
Aws::String m_snsTopicArn;
|
|||
|
|
|
|||
|
|
OrganizationConfiguration m_organizationConfiguration;
|
|||
|
|
|
|||
|
|
bool m_enableCrossAccountsDiscovery;
|
|||
|
|
|
|||
|
|
Aws::String m_licenseManagerResourceShareArn;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace LicenseManager
|
|||
|
|
} // namespace Aws
|