AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSiteAddressResult.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/AddressType.h>
10#include <aws/outposts/model/Address.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 GetSiteAddressResult();
35
36
38
39 inline const Aws::String& GetSiteId() const{ return m_siteId; }
40 inline void SetSiteId(const Aws::String& value) { m_siteId = value; }
41 inline void SetSiteId(Aws::String&& value) { m_siteId = std::move(value); }
42 inline void SetSiteId(const char* value) { m_siteId.assign(value); }
43 inline GetSiteAddressResult& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
44 inline GetSiteAddressResult& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
45 inline GetSiteAddressResult& WithSiteId(const char* value) { SetSiteId(value); return *this;}
47
49
52 inline const AddressType& GetAddressType() const{ return m_addressType; }
53 inline void SetAddressType(const AddressType& value) { m_addressType = value; }
54 inline void SetAddressType(AddressType&& value) { m_addressType = std::move(value); }
55 inline GetSiteAddressResult& WithAddressType(const AddressType& value) { SetAddressType(value); return *this;}
56 inline GetSiteAddressResult& WithAddressType(AddressType&& value) { SetAddressType(std::move(value)); return *this;}
58
60
63 inline const Address& GetAddress() const{ return m_address; }
64 inline void SetAddress(const Address& value) { m_address = value; }
65 inline void SetAddress(Address&& value) { m_address = std::move(value); }
66 inline GetSiteAddressResult& WithAddress(const Address& value) { SetAddress(value); return *this;}
67 inline GetSiteAddressResult& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline GetSiteAddressResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline GetSiteAddressResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline GetSiteAddressResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_siteId;
83
84 AddressType m_addressType;
85
86 Address m_address;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace Outposts
93} // namespace Aws
AWS_OUTPOSTS_API GetSiteAddressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSiteAddressResult & WithRequestId(const char *value)
GetSiteAddressResult & WithAddress(Address &&value)
void SetRequestId(const Aws::String &value)
AWS_OUTPOSTS_API GetSiteAddressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSiteAddressResult & WithAddressType(AddressType &&value)
GetSiteAddressResult & WithAddressType(const AddressType &value)
GetSiteAddressResult & WithRequestId(const Aws::String &value)
GetSiteAddressResult & WithAddress(const Address &value)
GetSiteAddressResult & WithSiteId(const Aws::String &value)
GetSiteAddressResult & WithSiteId(const char *value)
void SetAddressType(const AddressType &value)
GetSiteAddressResult & WithRequestId(Aws::String &&value)
GetSiteAddressResult & WithSiteId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue