AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConfigRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/model/ConfigTypeData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/groundstation/model/ConfigCapabilityType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GroundStation
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_GROUNDSTATION_API UpdateConfigRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfig"; }
36
37 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
38
39
41
44 inline const ConfigTypeData& GetConfigData() const { return m_configData; }
45 inline bool ConfigDataHasBeenSet() const { return m_configDataHasBeenSet; }
46 template<typename ConfigDataT = ConfigTypeData>
47 void SetConfigData(ConfigDataT&& value) { m_configDataHasBeenSet = true; m_configData = std::forward<ConfigDataT>(value); }
48 template<typename ConfigDataT = ConfigTypeData>
49 UpdateConfigRequest& WithConfigData(ConfigDataT&& value) { SetConfigData(std::forward<ConfigDataT>(value)); return *this;}
51
53
56 inline const Aws::String& GetConfigId() const { return m_configId; }
57 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
58 template<typename ConfigIdT = Aws::String>
59 void SetConfigId(ConfigIdT&& value) { m_configIdHasBeenSet = true; m_configId = std::forward<ConfigIdT>(value); }
60 template<typename ConfigIdT = Aws::String>
61 UpdateConfigRequest& WithConfigId(ConfigIdT&& value) { SetConfigId(std::forward<ConfigIdT>(value)); return *this;}
63
65
68 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
69 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
70 inline void SetConfigType(ConfigCapabilityType value) { m_configTypeHasBeenSet = true; m_configType = value; }
73
75
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template<typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
82 template<typename NameT = Aws::String>
83 UpdateConfigRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
85 private:
86
87 ConfigTypeData m_configData;
88 bool m_configDataHasBeenSet = false;
89
90 Aws::String m_configId;
91 bool m_configIdHasBeenSet = false;
92
94 bool m_configTypeHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace GroundStation
102} // namespace Aws
UpdateConfigRequest & WithConfigData(ConfigDataT &&value)
void SetConfigType(ConfigCapabilityType value)
virtual const char * GetServiceRequestName() const override
UpdateConfigRequest & WithConfigType(ConfigCapabilityType value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
UpdateConfigRequest & WithConfigId(ConfigIdT &&value)
AWS_GROUNDSTATION_API UpdateConfigRequest()=default
UpdateConfigRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String