/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WorkSpaces { namespace Model { /** *

Information about the Amazon WorkSpaces client.

See Also:

AWS * API Reference

*/ class ClientPropertiesResult { public: AWS_WORKSPACES_API ClientPropertiesResult(); AWS_WORKSPACES_API ClientPropertiesResult(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACES_API ClientPropertiesResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The resource identifier, in the form of a directory ID.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The resource identifier, in the form of a directory ID.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The resource identifier, in the form of a directory ID.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The resource identifier, in the form of a directory ID.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The resource identifier, in the form of a directory ID.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The resource identifier, in the form of a directory ID.

*/ inline ClientPropertiesResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The resource identifier, in the form of a directory ID.

*/ inline ClientPropertiesResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The resource identifier, in the form of a directory ID.

*/ inline ClientPropertiesResult& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

Information about the Amazon WorkSpaces client.

*/ inline const ClientProperties& GetClientProperties() const{ return m_clientProperties; } /** *

Information about the Amazon WorkSpaces client.

*/ inline bool ClientPropertiesHasBeenSet() const { return m_clientPropertiesHasBeenSet; } /** *

Information about the Amazon WorkSpaces client.

*/ inline void SetClientProperties(const ClientProperties& value) { m_clientPropertiesHasBeenSet = true; m_clientProperties = value; } /** *

Information about the Amazon WorkSpaces client.

*/ inline void SetClientProperties(ClientProperties&& value) { m_clientPropertiesHasBeenSet = true; m_clientProperties = std::move(value); } /** *

Information about the Amazon WorkSpaces client.

*/ inline ClientPropertiesResult& WithClientProperties(const ClientProperties& value) { SetClientProperties(value); return *this;} /** *

Information about the Amazon WorkSpaces client.

*/ inline ClientPropertiesResult& WithClientProperties(ClientProperties&& value) { SetClientProperties(std::move(value)); return *this;} private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; ClientProperties m_clientProperties; bool m_clientPropertiesHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws