/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace GroundStation
{
namespace Model
{
/**
* See Also:
AWS
* API Reference
*/
class UpdateConfigRequest : public GroundStationRequest
{
public:
AWS_GROUNDSTATION_API UpdateConfigRequest();
// 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 "UpdateConfig"; }
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
/**
* Parameters of a Config
.
*/
inline const ConfigTypeData& GetConfigData() const{ return m_configData; }
/**
* Parameters of a Config
.
*/
inline bool ConfigDataHasBeenSet() const { return m_configDataHasBeenSet; }
/**
* Parameters of a Config
.
*/
inline void SetConfigData(const ConfigTypeData& value) { m_configDataHasBeenSet = true; m_configData = value; }
/**
* Parameters of a Config
.
*/
inline void SetConfigData(ConfigTypeData&& value) { m_configDataHasBeenSet = true; m_configData = std::move(value); }
/**
* Parameters of a Config
.
*/
inline UpdateConfigRequest& WithConfigData(const ConfigTypeData& value) { SetConfigData(value); return *this;}
/**
* Parameters of a Config
.
*/
inline UpdateConfigRequest& WithConfigData(ConfigTypeData&& value) { SetConfigData(std::move(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 UpdateConfigRequest& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;}
/**
* UUID of a Config
.
*/
inline UpdateConfigRequest& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;}
/**
* UUID of a Config
.
*/
inline UpdateConfigRequest& 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 UpdateConfigRequest& WithConfigType(const ConfigCapabilityType& value) { SetConfigType(value); return *this;}
/**
* Type of a Config
.
*/
inline UpdateConfigRequest& 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 UpdateConfigRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* Name of a Config
.
*/
inline UpdateConfigRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* Name of a Config
.
*/
inline UpdateConfigRequest& WithName(const char* value) { SetName(value); return *this;}
private:
ConfigTypeData m_configData;
bool m_configDataHasBeenSet = 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