AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSiteAddressRequest.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/outposts/model/AddressType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Outposts
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OUTPOSTS_API GetSiteAddressRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetSiteAddress"; }
36
37 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
38
39 AWS_OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetSiteId() const{ return m_siteId; }
47 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
48 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
49 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
50 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
51 inline GetSiteAddressRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
52 inline GetSiteAddressRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
53 inline GetSiteAddressRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
55
57
60 inline const AddressType& GetAddressType() const{ return m_addressType; }
61 inline bool AddressTypeHasBeenSet() const { return m_addressTypeHasBeenSet; }
62 inline void SetAddressType(const AddressType& value) { m_addressTypeHasBeenSet = true; m_addressType = value; }
63 inline void SetAddressType(AddressType&& value) { m_addressTypeHasBeenSet = true; m_addressType = std::move(value); }
64 inline GetSiteAddressRequest& WithAddressType(const AddressType& value) { SetAddressType(value); return *this;}
65 inline GetSiteAddressRequest& WithAddressType(AddressType&& value) { SetAddressType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_siteId;
70 bool m_siteIdHasBeenSet = false;
71
72 AddressType m_addressType;
73 bool m_addressTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Outposts
78} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
AWS_OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetSiteAddressRequest & WithSiteId(const Aws::String &value)
GetSiteAddressRequest & WithAddressType(AddressType &&value)
GetSiteAddressRequest & WithSiteId(Aws::String &&value)
GetSiteAddressRequest & WithAddressType(const AddressType &value)
GetSiteAddressRequest & WithSiteId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String