AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
43 inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
44 inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
45 inline UpdateOutpostRequest& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
46 inline UpdateOutpostRequest& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
47 inline UpdateOutpostRequest& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
49
51
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline UpdateOutpostRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline UpdateOutpostRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline UpdateOutpostRequest& WithName(const char* value) { SetName(value); return *this;}
61
63
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline UpdateOutpostRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline UpdateOutpostRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline UpdateOutpostRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
78 inline const SupportedHardwareType& GetSupportedHardwareType() const{ return m_supportedHardwareType; }
79 inline bool SupportedHardwareTypeHasBeenSet() const { return m_supportedHardwareTypeHasBeenSet; }
80 inline void SetSupportedHardwareType(const SupportedHardwareType& value) { m_supportedHardwareTypeHasBeenSet = true; m_supportedHardwareType = value; }
81 inline void SetSupportedHardwareType(SupportedHardwareType&& value) { m_supportedHardwareTypeHasBeenSet = true; m_supportedHardwareType = std::move(value); }
85 private:
86
87 Aws::String m_outpostId;
88 bool m_outpostIdHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 SupportedHardwareType m_supportedHardwareType;
97 bool m_supportedHardwareTypeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Outposts
102} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetDescription(const Aws::String &value)
UpdateOutpostRequest & WithName(Aws::String &&value)
void SetOutpostId(const Aws::String &value)
UpdateOutpostRequest & WithName(const Aws::String &value)
UpdateOutpostRequest & WithSupportedHardwareType(SupportedHardwareType &&value)
UpdateOutpostRequest & WithOutpostId(const char *value)
UpdateOutpostRequest & WithDescription(Aws::String &&value)
UpdateOutpostRequest & WithDescription(const Aws::String &value)
const SupportedHardwareType & GetSupportedHardwareType() const
UpdateOutpostRequest & WithName(const char *value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
UpdateOutpostRequest & WithOutpostId(Aws::String &&value)
UpdateOutpostRequest & WithDescription(const char *value)
void SetSupportedHardwareType(const SupportedHardwareType &value)
UpdateOutpostRequest & WithSupportedHardwareType(const SupportedHardwareType &value)
void SetSupportedHardwareType(SupportedHardwareType &&value)
UpdateOutpostRequest & WithOutpostId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String