AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/ConfigCapabilityType.h>
11#include <aws/groundstation/model/ConfigTypeData.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GroundStation {
17namespace Model {
18
25 public:
26 AWS_GROUNDSTATION_API UpdateConfigRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfig"; }
33
34 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetConfigId() const { return m_configId; }
41 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
42 template <typename ConfigIdT = Aws::String>
43 void SetConfigId(ConfigIdT&& value) {
44 m_configIdHasBeenSet = true;
45 m_configId = std::forward<ConfigIdT>(value);
46 }
47 template <typename ConfigIdT = Aws::String>
48 UpdateConfigRequest& WithConfigId(ConfigIdT&& value) {
49 SetConfigId(std::forward<ConfigIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 UpdateConfigRequest& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
77 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
79 m_configTypeHasBeenSet = true;
80 m_configType = value;
81 }
83 SetConfigType(value);
84 return *this;
85 }
87
89
92 inline const ConfigTypeData& GetConfigData() const { return m_configData; }
93 inline bool ConfigDataHasBeenSet() const { return m_configDataHasBeenSet; }
94 template <typename ConfigDataT = ConfigTypeData>
95 void SetConfigData(ConfigDataT&& value) {
96 m_configDataHasBeenSet = true;
97 m_configData = std::forward<ConfigDataT>(value);
98 }
99 template <typename ConfigDataT = ConfigTypeData>
100 UpdateConfigRequest& WithConfigData(ConfigDataT&& value) {
101 SetConfigData(std::forward<ConfigDataT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_configId;
107
108 Aws::String m_name;
109
111
112 ConfigTypeData m_configData;
113 bool m_configIdHasBeenSet = false;
114 bool m_nameHasBeenSet = false;
115 bool m_configTypeHasBeenSet = false;
116 bool m_configDataHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace GroundStation
121} // 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