AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
DeleteConfigRequest.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
25 public:
26 AWS_GROUNDSTATION_API DeleteConfigRequest() = 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 "DeleteConfig"; }
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 DeleteConfigRequest& WithConfigId(ConfigIdT&& value) {
49 SetConfigId(std::forward<ConfigIdT>(value));
50 return *this;
51 }
53
55
58 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
59 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
61 m_configTypeHasBeenSet = true;
62 m_configType = value;
63 }
65 SetConfigType(value);
66 return *this;
67 }
69 private:
70 Aws::String m_configId;
71
73 bool m_configIdHasBeenSet = false;
74 bool m_configTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace GroundStation
79} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
DeleteConfigRequest & WithConfigId(ConfigIdT &&value)
DeleteConfigRequest & WithConfigType(ConfigCapabilityType value)
AWS_GROUNDSTATION_API DeleteConfigRequest()=default
void SetConfigType(ConfigCapabilityType value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String