AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateOutpostRequest.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/outposts/model/SupportedHardwareType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Outposts
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OUTPOSTS_API UpdateOutpostRequest() = 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 "UpdateOutpost"; }
32
33 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
41 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
42 template<typename OutpostIdT = Aws::String>
43 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::forward<OutpostIdT>(value); }
44 template<typename OutpostIdT = Aws::String>
45 UpdateOutpostRequest& WithOutpostId(OutpostIdT&& value) { SetOutpostId(std::forward<OutpostIdT>(value)); return *this;}
47
49
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 UpdateOutpostRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 UpdateOutpostRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
72 inline SupportedHardwareType GetSupportedHardwareType() const { return m_supportedHardwareType; }
73 inline bool SupportedHardwareTypeHasBeenSet() const { return m_supportedHardwareTypeHasBeenSet; }
74 inline void SetSupportedHardwareType(SupportedHardwareType value) { m_supportedHardwareTypeHasBeenSet = true; m_supportedHardwareType = value; }
77 private:
78
79 Aws::String m_outpostId;
80 bool m_outpostIdHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87
89 bool m_supportedHardwareTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Outposts
94} // 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