AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename SiteIdT = Aws::String>
42 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet = true; m_siteId = std::forward<SiteIdT>(value); }
43 template<typename SiteIdT = Aws::String>
44 UpdateSiteRequest& WithSiteId(SiteIdT&& value) { SetSiteId(std::forward<SiteIdT>(value)); return *this;}
46
48
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 UpdateSiteRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template<typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 UpdateSiteRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
71 inline const Aws::String& GetNotes() const { return m_notes; }
72 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
73 template<typename NotesT = Aws::String>
74 void SetNotes(NotesT&& value) { m_notesHasBeenSet = true; m_notes = std::forward<NotesT>(value); }
75 template<typename NotesT = Aws::String>
76 UpdateSiteRequest& WithNotes(NotesT&& value) { SetNotes(std::forward<NotesT>(value)); return *this;}
78 private:
79
80 Aws::String m_siteId;
81 bool m_siteIdHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88
89 Aws::String m_notes;
90 bool m_notesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Outposts
95} // namespace Aws
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
AWS_OUTPOSTS_API UpdateSiteRequest()=default
UpdateSiteRequest & WithSiteId(SiteIdT &&value)
const Aws::String & GetSiteId() const
UpdateSiteRequest & WithName(NameT &&value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
UpdateSiteRequest & WithNotes(NotesT &&value)
UpdateSiteRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String