/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace NimbleStudio { namespace Model { /** */ class PutLaunchProfileMembersRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API PutLaunchProfileMembersRequest(); // 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 "PutLaunchProfileMembers"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline PutLaunchProfileMembersRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline PutLaunchProfileMembersRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline PutLaunchProfileMembersRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The ID of the identity store.

*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *

The ID of the identity store.

*/ inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** *

The ID of the identity store.

*/ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } /** *

The ID of the identity store.

*/ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } /** *

The ID of the identity store.

*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } /** *

The ID of the identity store.

*/ inline PutLaunchProfileMembersRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The ID of the identity store.

*/ inline PutLaunchProfileMembersRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *

The ID of the identity store.

*/ inline PutLaunchProfileMembersRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline const Aws::String& GetLaunchProfileId() const{ return m_launchProfileId; } /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline bool LaunchProfileIdHasBeenSet() const { return m_launchProfileIdHasBeenSet; } /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline void SetLaunchProfileId(const Aws::String& value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId = value; } /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline void SetLaunchProfileId(Aws::String&& value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId = std::move(value); } /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline void SetLaunchProfileId(const char* value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId.assign(value); } /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline PutLaunchProfileMembersRequest& WithLaunchProfileId(const Aws::String& value) { SetLaunchProfileId(value); return *this;} /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline PutLaunchProfileMembersRequest& WithLaunchProfileId(Aws::String&& value) { SetLaunchProfileId(std::move(value)); return *this;} /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline PutLaunchProfileMembersRequest& WithLaunchProfileId(const char* value) { SetLaunchProfileId(value); return *this;} /** *

A list of members.

*/ inline const Aws::Vector& GetMembers() const{ return m_members; } /** *

A list of members.

*/ inline bool MembersHasBeenSet() const { return m_membersHasBeenSet; } /** *

A list of members.

*/ inline void SetMembers(const Aws::Vector& value) { m_membersHasBeenSet = true; m_members = value; } /** *

A list of members.

*/ inline void SetMembers(Aws::Vector&& value) { m_membersHasBeenSet = true; m_members = std::move(value); } /** *

A list of members.

*/ inline PutLaunchProfileMembersRequest& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} /** *

A list of members.

*/ inline PutLaunchProfileMembersRequest& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} /** *

A list of members.

*/ inline PutLaunchProfileMembersRequest& AddMembers(const NewLaunchProfileMember& value) { m_membersHasBeenSet = true; m_members.push_back(value); return *this; } /** *

A list of members.

*/ inline PutLaunchProfileMembersRequest& AddMembers(NewLaunchProfileMember&& value) { m_membersHasBeenSet = true; m_members.push_back(std::move(value)); return *this; } /** *

The studio ID.

*/ inline const Aws::String& GetStudioId() const{ return m_studioId; } /** *

The studio ID.

*/ inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; } /** *

The studio ID.

*/ inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; } /** *

The studio ID.

*/ inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); } /** *

The studio ID.

*/ inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); } /** *

The studio ID.

*/ inline PutLaunchProfileMembersRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The studio ID.

*/ inline PutLaunchProfileMembersRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} /** *

The studio ID.

*/ inline PutLaunchProfileMembersRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_identityStoreId; bool m_identityStoreIdHasBeenSet = false; Aws::String m_launchProfileId; bool m_launchProfileIdHasBeenSet = false; Aws::Vector m_members; bool m_membersHasBeenSet = false; Aws::String m_studioId; bool m_studioIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws