AWS SDK for C++  1.9.66
AWS SDK for C++
GetConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GroundStation
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetConfig"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetConfigId() const{ return m_configId; }
43 
47  inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
48 
52  inline void SetConfigId(const Aws::String& value) { m_configIdHasBeenSet = true; m_configId = value; }
53 
57  inline void SetConfigId(Aws::String&& value) { m_configIdHasBeenSet = true; m_configId = std::move(value); }
58 
62  inline void SetConfigId(const char* value) { m_configIdHasBeenSet = true; m_configId.assign(value); }
63 
67  inline GetConfigRequest& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;}
68 
72  inline GetConfigRequest& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;}
73 
77  inline GetConfigRequest& WithConfigId(const char* value) { SetConfigId(value); return *this;}
78 
79 
83  inline const ConfigCapabilityType& GetConfigType() const{ return m_configType; }
84 
88  inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
89 
93  inline void SetConfigType(const ConfigCapabilityType& value) { m_configTypeHasBeenSet = true; m_configType = value; }
94 
98  inline void SetConfigType(ConfigCapabilityType&& value) { m_configTypeHasBeenSet = true; m_configType = std::move(value); }
99 
103  inline GetConfigRequest& WithConfigType(const ConfigCapabilityType& value) { SetConfigType(value); return *this;}
104 
108  inline GetConfigRequest& WithConfigType(ConfigCapabilityType&& value) { SetConfigType(std::move(value)); return *this;}
109 
110  private:
111 
112  Aws::String m_configId;
113  bool m_configIdHasBeenSet;
114 
115  ConfigCapabilityType m_configType;
116  bool m_configTypeHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace GroundStation
121 } // namespace Aws
Aws::GroundStation::Model::GetConfigRequest::WithConfigId
GetConfigRequest & WithConfigId(const char *value)
Definition: GetConfigRequest.h:77
Aws::GroundStation::Model::GetConfigRequest::GetConfigId
const Aws::String & GetConfigId() const
Definition: GetConfigRequest.h:42
Aws::GroundStation::Model::GetConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetConfigRequest.h:34
Aws::GroundStation::Model::GetConfigRequest::WithConfigType
GetConfigRequest & WithConfigType(ConfigCapabilityType &&value)
Definition: GetConfigRequest.h:108
Aws::GroundStation::Model::GetConfigRequest::ConfigIdHasBeenSet
bool ConfigIdHasBeenSet() const
Definition: GetConfigRequest.h:47
Aws::GroundStation::Model::GetConfigRequest::WithConfigType
GetConfigRequest & WithConfigType(const ConfigCapabilityType &value)
Definition: GetConfigRequest.h:103
Aws::GroundStation::Model::GetConfigRequest::ConfigTypeHasBeenSet
bool ConfigTypeHasBeenSet() const
Definition: GetConfigRequest.h:88
Aws::GroundStation::Model::GetConfigRequest::SetConfigId
void SetConfigId(const char *value)
Definition: GetConfigRequest.h:62
ConfigCapabilityType.h
Aws::GroundStation::Model::GetConfigRequest::SetConfigId
void SetConfigId(const Aws::String &value)
Definition: GetConfigRequest.h:52
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::GetConfigRequest::GetConfigType
const ConfigCapabilityType & GetConfigType() const
Definition: GetConfigRequest.h:83
GroundStationRequest.h
Aws::GroundStation::Model::GetConfigRequest::SetConfigType
void SetConfigType(ConfigCapabilityType &&value)
Definition: GetConfigRequest.h:98
GroundStation_EXPORTS.h
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ConfigCapabilityType
ConfigCapabilityType
Definition: ConfigCapabilityType.h:17
AWSString.h
Aws::GroundStation::Model::GetConfigRequest
Definition: GetConfigRequest.h:26
Aws::GroundStation::Model::GetConfigRequest::WithConfigId
GetConfigRequest & WithConfigId(const Aws::String &value)
Definition: GetConfigRequest.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::GetConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GroundStation::Model::GetConfigRequest::WithConfigId
GetConfigRequest & WithConfigId(Aws::String &&value)
Definition: GetConfigRequest.h:72
Aws::GroundStation::Model::GetConfigRequest::GetConfigRequest
GetConfigRequest()
Aws::GroundStation::Model::GetConfigRequest::SetConfigType
void SetConfigType(const ConfigCapabilityType &value)
Definition: GetConfigRequest.h:93
Aws::GroundStation::Model::GetConfigRequest::SetConfigId
void SetConfigId(Aws::String &&value)
Definition: GetConfigRequest.h:57