AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSiteRequest.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 <utility>
11
12namespace Aws
13{
14namespace Outposts
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_OUTPOSTS_API UpdateSiteRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateSite"; }
31
32 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetSiteId() const{ return m_siteId; }
40 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
41 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
42 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
43 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
44 inline UpdateSiteRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
45 inline UpdateSiteRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
46 inline UpdateSiteRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
48
50
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline UpdateSiteRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline UpdateSiteRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline UpdateSiteRequest& WithName(const char* value) { SetName(value); return *this;}
60
62
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline UpdateSiteRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline UpdateSiteRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline UpdateSiteRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const Aws::String& GetNotes() const{ return m_notes; }
78 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
79 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
80 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
81 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
82 inline UpdateSiteRequest& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
83 inline UpdateSiteRequest& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
84 inline UpdateSiteRequest& WithNotes(const char* value) { SetNotes(value); return *this;}
86 private:
87
88 Aws::String m_siteId;
89 bool m_siteIdHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
97 Aws::String m_notes;
98 bool m_notesHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Outposts
103} // namespace Aws
UpdateSiteRequest & WithSiteId(Aws::String &&value)
UpdateSiteRequest & WithDescription(const char *value)
UpdateSiteRequest & WithName(const char *value)
UpdateSiteRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateSiteRequest & WithName(const Aws::String &value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
UpdateSiteRequest & WithDescription(const Aws::String &value)
UpdateSiteRequest & WithNotes(const Aws::String &value)
UpdateSiteRequest & WithNotes(const char *value)
UpdateSiteRequest & WithNotes(Aws::String &&value)
void SetName(const Aws::String &value)
void SetSiteId(const Aws::String &value)
UpdateSiteRequest & WithName(Aws::String &&value)
const Aws::String & GetSiteId() const
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
UpdateSiteRequest & WithSiteId(const Aws::String &value)
void SetNotes(const Aws::String &value)
UpdateSiteRequest & WithSiteId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String