/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input for List Workload ShareSee Also:
AWS
* API Reference
The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline const Aws::String& GetSharedWithPrefix() const{ return m_sharedWithPrefix; } /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline bool SharedWithPrefixHasBeenSet() const { return m_sharedWithPrefixHasBeenSet; } /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline void SetSharedWithPrefix(const Aws::String& value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix = value; } /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline void SetSharedWithPrefix(Aws::String&& value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix = std::move(value); } /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline void SetSharedWithPrefix(const char* value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix.assign(value); } /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline ListWorkloadSharesRequest& WithSharedWithPrefix(const Aws::String& value) { SetSharedWithPrefix(value); return *this;} /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline ListWorkloadSharesRequest& WithSharedWithPrefix(Aws::String&& value) { SetSharedWithPrefix(std::move(value)); return *this;} /** *The Amazon Web Services account ID, IAM role, organization ID, or * organizational unit (OU) ID with which the workload is shared.
*/ inline ListWorkloadSharesRequest& WithSharedWithPrefix(const char* value) { SetSharedWithPrefix(value); return *this;} inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } inline ListWorkloadSharesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} inline ListWorkloadSharesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListWorkloadSharesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of results to return for this request.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results to return for this request.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results to return for this request.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results to return for this request.
*/ inline ListWorkloadSharesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} inline const ShareStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } inline void SetStatus(const ShareStatus& value) { m_statusHasBeenSet = true; m_status = value; } inline void SetStatus(ShareStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } inline ListWorkloadSharesRequest& WithStatus(const ShareStatus& value) { SetStatus(value); return *this;} inline ListWorkloadSharesRequest& WithStatus(ShareStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_workloadId; bool m_workloadIdHasBeenSet = false; Aws::String m_sharedWithPrefix; bool m_sharedWithPrefixHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; ShareStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws