/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Chime { namespace Model { /** */ class ListRoomsRequest : public ChimeRequest { public: AWS_CHIME_API ListRoomsRequest(); // 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 "ListRooms"; } AWS_CHIME_API Aws::String SerializePayload() const override; AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Chime account ID.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Chime account ID.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Chime account ID.

*/ inline ListRoomsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Chime account ID.

*/ inline ListRoomsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Chime account ID.

*/ inline ListRoomsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The member ID (user ID or bot ID).

*/ inline const Aws::String& GetMemberId() const{ return m_memberId; } /** *

The member ID (user ID or bot ID).

*/ inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; } /** *

The member ID (user ID or bot ID).

*/ inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; } /** *

The member ID (user ID or bot ID).

*/ inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); } /** *

The member ID (user ID or bot ID).

*/ inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); } /** *

The member ID (user ID or bot ID).

*/ inline ListRoomsRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} /** *

The member ID (user ID or bot ID).

*/ inline ListRoomsRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} /** *

The member ID (user ID or bot ID).

*/ inline ListRoomsRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;} /** *

The maximum number of results to return in a single call.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return in a single call.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return in a single call.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return in a single call.

*/ inline ListRoomsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The token to use to retrieve the next page of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to use to retrieve the next page of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token to use to retrieve the next page of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token to use to retrieve the next page of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token to use to retrieve the next page of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token to use to retrieve the next page of results.

*/ inline ListRoomsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to use to retrieve the next page of results.

*/ inline ListRoomsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to use to retrieve the next page of results.

*/ inline ListRoomsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_memberId; bool m_memberIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws