/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace WellArchitected { namespace Model { /** *

Input for List Share Invitations

See Also:

AWS * API Reference

*/ class ListShareInvitationsRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API ListShareInvitationsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListShareInvitations"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; inline const Aws::String& GetWorkloadNamePrefix() const{ return m_workloadNamePrefix; } inline bool WorkloadNamePrefixHasBeenSet() const { return m_workloadNamePrefixHasBeenSet; } inline void SetWorkloadNamePrefix(const Aws::String& value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix = value; } inline void SetWorkloadNamePrefix(Aws::String&& value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix = std::move(value); } inline void SetWorkloadNamePrefix(const char* value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix.assign(value); } inline ListShareInvitationsRequest& WithWorkloadNamePrefix(const Aws::String& value) { SetWorkloadNamePrefix(value); return *this;} inline ListShareInvitationsRequest& WithWorkloadNamePrefix(Aws::String&& value) { SetWorkloadNamePrefix(std::move(value)); return *this;} inline ListShareInvitationsRequest& WithWorkloadNamePrefix(const char* value) { SetWorkloadNamePrefix(value); return *this;} /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline const Aws::String& GetLensNamePrefix() const{ return m_lensNamePrefix; } /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline bool LensNamePrefixHasBeenSet() const { return m_lensNamePrefixHasBeenSet; } /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline void SetLensNamePrefix(const Aws::String& value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix = value; } /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline void SetLensNamePrefix(Aws::String&& value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix = std::move(value); } /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline void SetLensNamePrefix(const char* value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix.assign(value); } /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline ListShareInvitationsRequest& WithLensNamePrefix(const Aws::String& value) { SetLensNamePrefix(value); return *this;} /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline ListShareInvitationsRequest& WithLensNamePrefix(Aws::String&& value) { SetLensNamePrefix(std::move(value)); return *this;} /** *

An optional string added to the beginning of each lens name returned in the * results.

*/ inline ListShareInvitationsRequest& WithLensNamePrefix(const char* value) { SetLensNamePrefix(value); return *this;} /** *

The type of share invitations to be returned.

*/ inline const ShareResourceType& GetShareResourceType() const{ return m_shareResourceType; } /** *

The type of share invitations to be returned.

*/ inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; } /** *

The type of share invitations to be returned.

*/ inline void SetShareResourceType(const ShareResourceType& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; } /** *

The type of share invitations to be returned.

*/ inline void SetShareResourceType(ShareResourceType&& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = std::move(value); } /** *

The type of share invitations to be returned.

*/ inline ListShareInvitationsRequest& WithShareResourceType(const ShareResourceType& value) { SetShareResourceType(value); return *this;} /** *

The type of share invitations to be returned.

*/ inline ListShareInvitationsRequest& WithShareResourceType(ShareResourceType&& value) { SetShareResourceType(std::move(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 ListShareInvitationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} inline ListShareInvitationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListShareInvitationsRequest& 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 ListShareInvitationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Profile name prefix.

*/ inline const Aws::String& GetProfileNamePrefix() const{ return m_profileNamePrefix; } /** *

Profile name prefix.

*/ inline bool ProfileNamePrefixHasBeenSet() const { return m_profileNamePrefixHasBeenSet; } /** *

Profile name prefix.

*/ inline void SetProfileNamePrefix(const Aws::String& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = value; } /** *

Profile name prefix.

*/ inline void SetProfileNamePrefix(Aws::String&& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = std::move(value); } /** *

Profile name prefix.

*/ inline void SetProfileNamePrefix(const char* value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix.assign(value); } /** *

Profile name prefix.

*/ inline ListShareInvitationsRequest& WithProfileNamePrefix(const Aws::String& value) { SetProfileNamePrefix(value); return *this;} /** *

Profile name prefix.

*/ inline ListShareInvitationsRequest& WithProfileNamePrefix(Aws::String&& value) { SetProfileNamePrefix(std::move(value)); return *this;} /** *

Profile name prefix.

*/ inline ListShareInvitationsRequest& WithProfileNamePrefix(const char* value) { SetProfileNamePrefix(value); return *this;} private: Aws::String m_workloadNamePrefix; bool m_workloadNamePrefixHasBeenSet = false; Aws::String m_lensNamePrefix; bool m_lensNamePrefixHasBeenSet = false; ShareResourceType m_shareResourceType; bool m_shareResourceTypeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_profileNamePrefix; bool m_profileNamePrefixHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws