/** * 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 GroundStation { namespace Model { /** *

An item in a list of Config objects.

See Also:

* AWS * API Reference

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

ARN of a Config.

*/ inline const Aws::String& GetConfigArn() const{ return m_configArn; } /** *

ARN of a Config.

*/ inline bool ConfigArnHasBeenSet() const { return m_configArnHasBeenSet; } /** *

ARN of a Config.

*/ inline void SetConfigArn(const Aws::String& value) { m_configArnHasBeenSet = true; m_configArn = value; } /** *

ARN of a Config.

*/ inline void SetConfigArn(Aws::String&& value) { m_configArnHasBeenSet = true; m_configArn = std::move(value); } /** *

ARN of a Config.

*/ inline void SetConfigArn(const char* value) { m_configArnHasBeenSet = true; m_configArn.assign(value); } /** *

ARN of a Config.

*/ inline ConfigListItem& WithConfigArn(const Aws::String& value) { SetConfigArn(value); return *this;} /** *

ARN of a Config.

*/ inline ConfigListItem& WithConfigArn(Aws::String&& value) { SetConfigArn(std::move(value)); return *this;} /** *

ARN of a Config.

*/ inline ConfigListItem& WithConfigArn(const char* value) { SetConfigArn(value); return *this;} /** *

UUID of a Config.

*/ inline const Aws::String& GetConfigId() const{ return m_configId; } /** *

UUID of a Config.

*/ inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; } /** *

UUID of a Config.

*/ inline void SetConfigId(const Aws::String& value) { m_configIdHasBeenSet = true; m_configId = value; } /** *

UUID of a Config.

*/ inline void SetConfigId(Aws::String&& value) { m_configIdHasBeenSet = true; m_configId = std::move(value); } /** *

UUID of a Config.

*/ inline void SetConfigId(const char* value) { m_configIdHasBeenSet = true; m_configId.assign(value); } /** *

UUID of a Config.

*/ inline ConfigListItem& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;} /** *

UUID of a Config.

*/ inline ConfigListItem& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;} /** *

UUID of a Config.

*/ inline ConfigListItem& WithConfigId(const char* value) { SetConfigId(value); return *this;} /** *

Type of a Config.

*/ inline const ConfigCapabilityType& GetConfigType() const{ return m_configType; } /** *

Type of a Config.

*/ inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; } /** *

Type of a Config.

*/ inline void SetConfigType(const ConfigCapabilityType& value) { m_configTypeHasBeenSet = true; m_configType = value; } /** *

Type of a Config.

*/ inline void SetConfigType(ConfigCapabilityType&& value) { m_configTypeHasBeenSet = true; m_configType = std::move(value); } /** *

Type of a Config.

*/ inline ConfigListItem& WithConfigType(const ConfigCapabilityType& value) { SetConfigType(value); return *this;} /** *

Type of a Config.

*/ inline ConfigListItem& WithConfigType(ConfigCapabilityType&& value) { SetConfigType(std::move(value)); return *this;} /** *

Name of a Config.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Name of a Config.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name of a Config.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name of a Config.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name of a Config.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Name of a Config.

*/ inline ConfigListItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Name of a Config.

*/ inline ConfigListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Name of a Config.

*/ inline ConfigListItem& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_configArn; bool m_configArnHasBeenSet = false; Aws::String m_configId; bool m_configIdHasBeenSet = false; ConfigCapabilityType m_configType; bool m_configTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws