AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
GetConfigRequest.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
12#include <utility>
13
14namespace Aws {
15namespace GroundStation {
16namespace Model {
17
24 public:
25 AWS_GROUNDSTATION_API GetConfigRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetConfig"; }
32
33 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetConfigId() const { return m_configId; }
40 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
41 template <typename ConfigIdT = Aws::String>
42 void SetConfigId(ConfigIdT&& value) {
43 m_configIdHasBeenSet = true;
44 m_configId = std::forward<ConfigIdT>(value);
45 }
46 template <typename ConfigIdT = Aws::String>
47 GetConfigRequest& WithConfigId(ConfigIdT&& value) {
48 SetConfigId(std::forward<ConfigIdT>(value));
49 return *this;
50 }
52
54
57 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
58 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
60 m_configTypeHasBeenSet = true;
61 m_configType = value;
62 }
64 SetConfigType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_configId;
70 bool m_configIdHasBeenSet = false;
71
73 bool m_configTypeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace GroundStation
78} // namespace Aws
GetConfigRequest & WithConfigId(ConfigIdT &&value)
GetConfigRequest & WithConfigType(ConfigCapabilityType value)
void SetConfigType(ConfigCapabilityType value)
virtual const char * GetServiceRequestName() const override
AWS_GROUNDSTATION_API GetConfigRequest()=default
ConfigCapabilityType GetConfigType() const
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String