AWS SDK for C++

AWS SDK for C++ Version 1.11.710

Loading...
Searching...
No Matches
UpdateOutpostRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/outposts/Outposts_EXPORTS.h>
10#include <aws/outposts/model/SupportedHardwareType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Outposts {
16namespace Model {
17
21 public:
22 AWS_OUTPOSTS_API UpdateOutpostRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateOutpost"; }
29
30 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
37 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
38 template <typename OutpostIdT = Aws::String>
39 void SetOutpostId(OutpostIdT&& value) {
40 m_outpostIdHasBeenSet = true;
41 m_outpostId = std::forward<OutpostIdT>(value);
42 }
43 template <typename OutpostIdT = Aws::String>
44 UpdateOutpostRequest& WithOutpostId(OutpostIdT&& value) {
45 SetOutpostId(std::forward<OutpostIdT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
76 UpdateOutpostRequest& WithDescription(DescriptionT&& value) {
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
86 inline SupportedHardwareType GetSupportedHardwareType() const { return m_supportedHardwareType; }
87 inline bool SupportedHardwareTypeHasBeenSet() const { return m_supportedHardwareTypeHasBeenSet; }
89 m_supportedHardwareTypeHasBeenSet = true;
90 m_supportedHardwareType = value;
91 }
94 return *this;
95 }
97 private:
98 Aws::String m_outpostId;
99
100 Aws::String m_name;
101
102 Aws::String m_description;
103
105 bool m_outpostIdHasBeenSet = false;
106 bool m_nameHasBeenSet = false;
107 bool m_descriptionHasBeenSet = false;
108 bool m_supportedHardwareTypeHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Outposts
113} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetSupportedHardwareType(SupportedHardwareType value)
UpdateOutpostRequest & WithName(NameT &&value)
UpdateOutpostRequest & WithOutpostId(OutpostIdT &&value)
UpdateOutpostRequest & WithDescription(DescriptionT &&value)
SupportedHardwareType GetSupportedHardwareType() const
AWS_OUTPOSTS_API UpdateOutpostRequest()=default
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
UpdateOutpostRequest & WithSupportedHardwareType(SupportedHardwareType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String