AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigData(const ConfigTypeData& value) { m_configDataHasBeenSet = true; m_configData = value; }
47 inline void SetConfigData(ConfigTypeData&& value) { m_configDataHasBeenSet = true; m_configData = std::move(value); }
48 inline UpdateConfigRequest& WithConfigData(const ConfigTypeData& value) { SetConfigData(value); return *this;}
49 inline UpdateConfigRequest& WithConfigData(ConfigTypeData&& value) { SetConfigData(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetConfigId() const{ return m_configId; }
57 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
58 inline void SetConfigId(const Aws::String& value) { m_configIdHasBeenSet = true; m_configId = value; }
59 inline void SetConfigId(Aws::String&& value) { m_configIdHasBeenSet = true; m_configId = std::move(value); }
60 inline void SetConfigId(const char* value) { m_configIdHasBeenSet = true; m_configId.assign(value); }
61 inline UpdateConfigRequest& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;}
62 inline UpdateConfigRequest& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;}
63 inline UpdateConfigRequest& WithConfigId(const char* value) { SetConfigId(value); return *this;}
65
67
70 inline const ConfigCapabilityType& GetConfigType() const{ return m_configType; }
71 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
72 inline void SetConfigType(const ConfigCapabilityType& value) { m_configTypeHasBeenSet = true; m_configType = value; }
73 inline void SetConfigType(ConfigCapabilityType&& value) { m_configTypeHasBeenSet = true; m_configType = std::move(value); }
74 inline UpdateConfigRequest& WithConfigType(const ConfigCapabilityType& value) { SetConfigType(value); return *this;}
75 inline UpdateConfigRequest& WithConfigType(ConfigCapabilityType&& value) { SetConfigType(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const{ return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
85 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
86 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 inline UpdateConfigRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline UpdateConfigRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline UpdateConfigRequest& WithName(const char* value) { SetName(value); return *this;}
91 private:
92
93 ConfigTypeData m_configData;
94 bool m_configDataHasBeenSet = false;
95
96 Aws::String m_configId;
97 bool m_configIdHasBeenSet = false;
98
99 ConfigCapabilityType m_configType;
100 bool m_configTypeHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace GroundStation
108} // namespace Aws
UpdateConfigRequest & WithConfigType(const ConfigCapabilityType &value)
void SetConfigType(const ConfigCapabilityType &value)
void SetConfigData(const ConfigTypeData &value)
UpdateConfigRequest & WithConfigId(Aws::String &&value)
UpdateConfigRequest & WithName(Aws::String &&value)
UpdateConfigRequest & WithConfigData(ConfigTypeData &&value)
UpdateConfigRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
UpdateConfigRequest & WithConfigId(const char *value)
UpdateConfigRequest & WithName(const char *value)
UpdateConfigRequest & WithConfigId(const Aws::String &value)
const ConfigCapabilityType & GetConfigType() const
UpdateConfigRequest & WithConfigData(const ConfigTypeData &value)
UpdateConfigRequest & WithConfigType(ConfigCapabilityType &&value)
void SetConfigType(ConfigCapabilityType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String