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/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/Location.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKMANAGER_API UpdateSiteRequest();
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 "UpdateSite"; }
32
33 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; }
41 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
42 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
43 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
44 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
45 inline UpdateSiteRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
46 inline UpdateSiteRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
47 inline UpdateSiteRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
49
51
54 inline const Aws::String& GetSiteId() const{ return m_siteId; }
55 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
56 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
57 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
58 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
59 inline UpdateSiteRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
60 inline UpdateSiteRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
61 inline UpdateSiteRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
63
65
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateSiteRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateSiteRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateSiteRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
86 inline const Location& GetLocation() const{ return m_location; }
87 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
88 inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; }
89 inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
90 inline UpdateSiteRequest& WithLocation(const Location& value) { SetLocation(value); return *this;}
91 inline UpdateSiteRequest& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_globalNetworkId;
96 bool m_globalNetworkIdHasBeenSet = false;
97
98 Aws::String m_siteId;
99 bool m_siteIdHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Location m_location;
105 bool m_locationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace NetworkManager
110} // namespace Aws
void SetGlobalNetworkId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
UpdateSiteRequest & WithSiteId(Aws::String &&value)
UpdateSiteRequest & WithGlobalNetworkId(const Aws::String &value)
UpdateSiteRequest & WithSiteId(const char *value)
void SetDescription(const Aws::String &value)
UpdateSiteRequest & WithGlobalNetworkId(Aws::String &&value)
UpdateSiteRequest & WithDescription(const char *value)
UpdateSiteRequest & WithSiteId(const Aws::String &value)
UpdateSiteRequest & WithGlobalNetworkId(const char *value)
UpdateSiteRequest & WithDescription(const Aws::String &value)
UpdateSiteRequest & WithLocation(const Location &value)
UpdateSiteRequest & WithLocation(Location &&value)
UpdateSiteRequest & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String