AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 template<typename GlobalNetworkIdT = Aws::String>
43 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
44 template<typename GlobalNetworkIdT = Aws::String>
45 UpdateSiteRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetSiteId() const { return m_siteId; }
53 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
54 template<typename SiteIdT = Aws::String>
55 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet = true; m_siteId = std::forward<SiteIdT>(value); }
56 template<typename SiteIdT = Aws::String>
57 UpdateSiteRequest& WithSiteId(SiteIdT&& value) { SetSiteId(std::forward<SiteIdT>(value)); return *this;}
59
61
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateSiteRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
80 inline const Location& GetLocation() const { return m_location; }
81 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
82 template<typename LocationT = Location>
83 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
84 template<typename LocationT = Location>
85 UpdateSiteRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
87 private:
88
89 Aws::String m_globalNetworkId;
90 bool m_globalNetworkIdHasBeenSet = false;
91
92 Aws::String m_siteId;
93 bool m_siteIdHasBeenSet = false;
94
95 Aws::String m_description;
96 bool m_descriptionHasBeenSet = false;
97
98 Location m_location;
99 bool m_locationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace NetworkManager
104} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
AWS_NETWORKMANAGER_API UpdateSiteRequest()=default
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
UpdateSiteRequest & WithSiteId(SiteIdT &&value)
UpdateSiteRequest & WithGlobalNetworkId(GlobalNetworkIdT &&value)
UpdateSiteRequest & WithDescription(DescriptionT &&value)
UpdateSiteRequest & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String