AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateNetworkSiteResult.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/model/NetworkSite.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PrivateNetworks
26{
27namespace Model
28{
30 {
31 public:
32 AWS_PRIVATENETWORKS_API UpdateNetworkSiteResult();
35
36
38
41 inline const NetworkSite& GetNetworkSite() const{ return m_networkSite; }
42 inline void SetNetworkSite(const NetworkSite& value) { m_networkSite = value; }
43 inline void SetNetworkSite(NetworkSite&& value) { m_networkSite = std::move(value); }
44 inline UpdateNetworkSiteResult& WithNetworkSite(const NetworkSite& value) { SetNetworkSite(value); return *this;}
45 inline UpdateNetworkSiteResult& WithNetworkSite(NetworkSite&& value) { SetNetworkSite(std::move(value)); return *this;}
47
49
52 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
53 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
54 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
55 inline UpdateNetworkSiteResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
56 inline UpdateNetworkSiteResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
57 inline UpdateNetworkSiteResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
58 inline UpdateNetworkSiteResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
59 inline UpdateNetworkSiteResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
60 inline UpdateNetworkSiteResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
61 inline UpdateNetworkSiteResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
62 inline UpdateNetworkSiteResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
63 inline UpdateNetworkSiteResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline UpdateNetworkSiteResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline UpdateNetworkSiteResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline UpdateNetworkSiteResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 NetworkSite m_networkSite;
79
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace PrivateNetworks
87} // namespace Aws
UpdateNetworkSiteResult & AddTags(const char *key, const char *value)
AWS_PRIVATENETWORKS_API UpdateNetworkSiteResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateNetworkSiteResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateNetworkSiteResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateNetworkSiteResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateNetworkSiteResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateNetworkSiteResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PRIVATENETWORKS_API UpdateNetworkSiteResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateNetworkSiteResult & WithRequestId(const char *value)
UpdateNetworkSiteResult & WithNetworkSite(const NetworkSite &value)
UpdateNetworkSiteResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateNetworkSiteResult & WithRequestId(Aws::String &&value)
UpdateNetworkSiteResult & WithRequestId(const Aws::String &value)
UpdateNetworkSiteResult & AddTags(const char *key, Aws::String &&value)
UpdateNetworkSiteResult & WithNetworkSite(NetworkSite &&value)
UpdateNetworkSiteResult & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue