AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSiteAddressResult.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/model/AddressType.h>
9#include <aws/outposts/model/Address.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 Outposts
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OUTPOSTS_API UpdateSiteAddressResult();
35
36
38
41 inline const AddressType& GetAddressType() const{ return m_addressType; }
42 inline void SetAddressType(const AddressType& value) { m_addressType = value; }
43 inline void SetAddressType(AddressType&& value) { m_addressType = std::move(value); }
44 inline UpdateSiteAddressResult& WithAddressType(const AddressType& value) { SetAddressType(value); return *this;}
45 inline UpdateSiteAddressResult& WithAddressType(AddressType&& value) { SetAddressType(std::move(value)); return *this;}
47
49
52 inline const Address& GetAddress() const{ return m_address; }
53 inline void SetAddress(const Address& value) { m_address = value; }
54 inline void SetAddress(Address&& value) { m_address = std::move(value); }
55 inline UpdateSiteAddressResult& WithAddress(const Address& value) { SetAddress(value); return *this;}
56 inline UpdateSiteAddressResult& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline UpdateSiteAddressResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline UpdateSiteAddressResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline UpdateSiteAddressResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 AddressType m_addressType;
72
73 Address m_address;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Outposts
80} // namespace Aws
UpdateSiteAddressResult & WithAddress(const Address &value)
AWS_OUTPOSTS_API UpdateSiteAddressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSiteAddressResult & WithRequestId(const char *value)
UpdateSiteAddressResult & WithAddressType(AddressType &&value)
UpdateSiteAddressResult & WithRequestId(Aws::String &&value)
AWS_OUTPOSTS_API UpdateSiteAddressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSiteAddressResult & WithRequestId(const Aws::String &value)
UpdateSiteAddressResult & WithAddressType(const AddressType &value)
UpdateSiteAddressResult & WithAddress(Address &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue