/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a share request for a custom framework in Audit Manager.
* See Also:
AWS
* API Reference
The unique identifier for the share request.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier for the share request.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the share request.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the share request.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the share request.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier for the share request.
*/ inline AssessmentFrameworkShareRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier for the share request.
*/ inline AssessmentFrameworkShareRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier for the share request.
*/ inline AssessmentFrameworkShareRequest& WithId(const char* value) { SetId(value); return *this;} /** *The unique identifier for the shared custom framework.
*/ inline const Aws::String& GetFrameworkId() const{ return m_frameworkId; } /** *The unique identifier for the shared custom framework.
*/ inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; } /** *The unique identifier for the shared custom framework.
*/ inline void SetFrameworkId(const Aws::String& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = value; } /** *The unique identifier for the shared custom framework.
*/ inline void SetFrameworkId(Aws::String&& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::move(value); } /** *The unique identifier for the shared custom framework.
*/ inline void SetFrameworkId(const char* value) { m_frameworkIdHasBeenSet = true; m_frameworkId.assign(value); } /** *The unique identifier for the shared custom framework.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkId(const Aws::String& value) { SetFrameworkId(value); return *this;} /** *The unique identifier for the shared custom framework.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkId(Aws::String&& value) { SetFrameworkId(std::move(value)); return *this;} /** *The unique identifier for the shared custom framework.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkId(const char* value) { SetFrameworkId(value); return *this;} /** *The name of the custom framework that the share request is for.
*/ inline const Aws::String& GetFrameworkName() const{ return m_frameworkName; } /** *The name of the custom framework that the share request is for.
*/ inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; } /** *The name of the custom framework that the share request is for.
*/ inline void SetFrameworkName(const Aws::String& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = value; } /** *The name of the custom framework that the share request is for.
*/ inline void SetFrameworkName(Aws::String&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::move(value); } /** *The name of the custom framework that the share request is for.
*/ inline void SetFrameworkName(const char* value) { m_frameworkNameHasBeenSet = true; m_frameworkName.assign(value); } /** *The name of the custom framework that the share request is for.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkName(const Aws::String& value) { SetFrameworkName(value); return *this;} /** *The name of the custom framework that the share request is for.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkName(Aws::String&& value) { SetFrameworkName(std::move(value)); return *this;} /** *The name of the custom framework that the share request is for.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkName(const char* value) { SetFrameworkName(value); return *this;} /** *The description of the shared custom framework.
*/ inline const Aws::String& GetFrameworkDescription() const{ return m_frameworkDescription; } /** *The description of the shared custom framework.
*/ inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; } /** *The description of the shared custom framework.
*/ inline void SetFrameworkDescription(const Aws::String& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = value; } /** *The description of the shared custom framework.
*/ inline void SetFrameworkDescription(Aws::String&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::move(value); } /** *The description of the shared custom framework.
*/ inline void SetFrameworkDescription(const char* value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription.assign(value); } /** *The description of the shared custom framework.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkDescription(const Aws::String& value) { SetFrameworkDescription(value); return *this;} /** *The description of the shared custom framework.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkDescription(Aws::String&& value) { SetFrameworkDescription(std::move(value)); return *this;} /** *The description of the shared custom framework.
*/ inline AssessmentFrameworkShareRequest& WithFrameworkDescription(const char* value) { SetFrameworkDescription(value); return *this;} /** *The status of the share request.
*/ inline const ShareRequestStatus& GetStatus() const{ return m_status; } /** *The status of the share request.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the share request.
*/ inline void SetStatus(const ShareRequestStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the share request.
*/ inline void SetStatus(ShareRequestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the share request.
*/ inline AssessmentFrameworkShareRequest& WithStatus(const ShareRequestStatus& value) { SetStatus(value); return *this;} /** *The status of the share request.
*/ inline AssessmentFrameworkShareRequest& WithStatus(ShareRequestStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The Amazon Web Services account of the sender.
*/ inline const Aws::String& GetSourceAccount() const{ return m_sourceAccount; } /** *The Amazon Web Services account of the sender.
*/ inline bool SourceAccountHasBeenSet() const { return m_sourceAccountHasBeenSet; } /** *The Amazon Web Services account of the sender.
*/ inline void SetSourceAccount(const Aws::String& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = value; } /** *The Amazon Web Services account of the sender.
*/ inline void SetSourceAccount(Aws::String&& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = std::move(value); } /** *The Amazon Web Services account of the sender.
*/ inline void SetSourceAccount(const char* value) { m_sourceAccountHasBeenSet = true; m_sourceAccount.assign(value); } /** *The Amazon Web Services account of the sender.
*/ inline AssessmentFrameworkShareRequest& WithSourceAccount(const Aws::String& value) { SetSourceAccount(value); return *this;} /** *The Amazon Web Services account of the sender.
*/ inline AssessmentFrameworkShareRequest& WithSourceAccount(Aws::String&& value) { SetSourceAccount(std::move(value)); return *this;} /** *The Amazon Web Services account of the sender.
*/ inline AssessmentFrameworkShareRequest& WithSourceAccount(const char* value) { SetSourceAccount(value); return *this;} /** *The Amazon Web Services account of the recipient.
*/ inline const Aws::String& GetDestinationAccount() const{ return m_destinationAccount; } /** *The Amazon Web Services account of the recipient.
*/ inline bool DestinationAccountHasBeenSet() const { return m_destinationAccountHasBeenSet; } /** *The Amazon Web Services account of the recipient.
*/ inline void SetDestinationAccount(const Aws::String& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = value; } /** *The Amazon Web Services account of the recipient.
*/ inline void SetDestinationAccount(Aws::String&& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = std::move(value); } /** *The Amazon Web Services account of the recipient.
*/ inline void SetDestinationAccount(const char* value) { m_destinationAccountHasBeenSet = true; m_destinationAccount.assign(value); } /** *The Amazon Web Services account of the recipient.
*/ inline AssessmentFrameworkShareRequest& WithDestinationAccount(const Aws::String& value) { SetDestinationAccount(value); return *this;} /** *The Amazon Web Services account of the recipient.
*/ inline AssessmentFrameworkShareRequest& WithDestinationAccount(Aws::String&& value) { SetDestinationAccount(std::move(value)); return *this;} /** *The Amazon Web Services account of the recipient.
*/ inline AssessmentFrameworkShareRequest& WithDestinationAccount(const char* value) { SetDestinationAccount(value); return *this;} /** *The Amazon Web Services Region of the recipient.
*/ inline const Aws::String& GetDestinationRegion() const{ return m_destinationRegion; } /** *The Amazon Web Services Region of the recipient.
*/ inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; } /** *The Amazon Web Services Region of the recipient.
*/ inline void SetDestinationRegion(const Aws::String& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = value; } /** *The Amazon Web Services Region of the recipient.
*/ inline void SetDestinationRegion(Aws::String&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::move(value); } /** *The Amazon Web Services Region of the recipient.
*/ inline void SetDestinationRegion(const char* value) { m_destinationRegionHasBeenSet = true; m_destinationRegion.assign(value); } /** *The Amazon Web Services Region of the recipient.
*/ inline AssessmentFrameworkShareRequest& WithDestinationRegion(const Aws::String& value) { SetDestinationRegion(value); return *this;} /** *The Amazon Web Services Region of the recipient.
*/ inline AssessmentFrameworkShareRequest& WithDestinationRegion(Aws::String&& value) { SetDestinationRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region of the recipient.
*/ inline AssessmentFrameworkShareRequest& WithDestinationRegion(const char* value) { SetDestinationRegion(value); return *this;} /** *The time when the share request expires.
*/ inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; } /** *The time when the share request expires.
*/ inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; } /** *The time when the share request expires.
*/ inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; } /** *The time when the share request expires.
*/ inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); } /** *The time when the share request expires.
*/ inline AssessmentFrameworkShareRequest& WithExpirationTime(const Aws::Utils::DateTime& value) { SetExpirationTime(value); return *this;} /** *The time when the share request expires.
*/ inline AssessmentFrameworkShareRequest& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;} /** *The time when the share request was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time when the share request was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time when the share request was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time when the share request was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time when the share request was created.
*/ inline AssessmentFrameworkShareRequest& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time when the share request was created.
*/ inline AssessmentFrameworkShareRequest& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *Specifies when the share request was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *Specifies when the share request was last updated.
*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *Specifies when the share request was last updated.
*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *Specifies when the share request was last updated.
*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *Specifies when the share request was last updated.
*/ inline AssessmentFrameworkShareRequest& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *Specifies when the share request was last updated.
*/ inline AssessmentFrameworkShareRequest& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} /** *An optional comment from the sender about the share request.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *An optional comment from the sender about the share request.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *An optional comment from the sender about the share request.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *An optional comment from the sender about the share request.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *An optional comment from the sender about the share request.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *An optional comment from the sender about the share request.
*/ inline AssessmentFrameworkShareRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *An optional comment from the sender about the share request.
*/ inline AssessmentFrameworkShareRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *An optional comment from the sender about the share request.
*/ inline AssessmentFrameworkShareRequest& WithComment(const char* value) { SetComment(value); return *this;} /** *The number of standard controls that are part of the shared custom framework. *
*/ inline int GetStandardControlsCount() const{ return m_standardControlsCount; } /** *The number of standard controls that are part of the shared custom framework. *
*/ inline bool StandardControlsCountHasBeenSet() const { return m_standardControlsCountHasBeenSet; } /** *The number of standard controls that are part of the shared custom framework. *
*/ inline void SetStandardControlsCount(int value) { m_standardControlsCountHasBeenSet = true; m_standardControlsCount = value; } /** *The number of standard controls that are part of the shared custom framework. *
*/ inline AssessmentFrameworkShareRequest& WithStandardControlsCount(int value) { SetStandardControlsCount(value); return *this;} /** *The number of custom controls that are part of the shared custom * framework.
*/ inline int GetCustomControlsCount() const{ return m_customControlsCount; } /** *The number of custom controls that are part of the shared custom * framework.
*/ inline bool CustomControlsCountHasBeenSet() const { return m_customControlsCountHasBeenSet; } /** *The number of custom controls that are part of the shared custom * framework.
*/ inline void SetCustomControlsCount(int value) { m_customControlsCountHasBeenSet = true; m_customControlsCount = value; } /** *The number of custom controls that are part of the shared custom * framework.
*/ inline AssessmentFrameworkShareRequest& WithCustomControlsCount(int value) { SetCustomControlsCount(value); return *this;} /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline const Aws::String& GetComplianceType() const{ return m_complianceType; } /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; } /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; } /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); } /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); } /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline AssessmentFrameworkShareRequest& WithComplianceType(const Aws::String& value) { SetComplianceType(value); return *this;} /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline AssessmentFrameworkShareRequest& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;} /** *The compliance type that the shared custom framework supports, such as CIS or * HIPAA.
*/ inline AssessmentFrameworkShareRequest& WithComplianceType(const char* value) { SetComplianceType(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_frameworkId; bool m_frameworkIdHasBeenSet = false; Aws::String m_frameworkName; bool m_frameworkNameHasBeenSet = false; Aws::String m_frameworkDescription; bool m_frameworkDescriptionHasBeenSet = false; ShareRequestStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_sourceAccount; bool m_sourceAccountHasBeenSet = false; Aws::String m_destinationAccount; bool m_destinationAccountHasBeenSet = false; Aws::String m_destinationRegion; bool m_destinationRegionHasBeenSet = false; Aws::Utils::DateTime m_expirationTime; bool m_expirationTimeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; int m_standardControlsCount; bool m_standardControlsCountHasBeenSet = false; int m_customControlsCount; bool m_customControlsCountHasBeenSet = false; Aws::String m_complianceType; bool m_complianceTypeHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws