AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSiteAddressRequest.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 <aws/outposts/model/Address.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Outposts
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_OUTPOSTS_API UpdateSiteAddressRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateSiteAddress"; }
33
34 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetSiteId() const{ return m_siteId; }
42 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
43 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
44 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
45 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
46 inline UpdateSiteAddressRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
47 inline UpdateSiteAddressRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
48 inline UpdateSiteAddressRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
50
52
55 inline const AddressType& GetAddressType() const{ return m_addressType; }
56 inline bool AddressTypeHasBeenSet() const { return m_addressTypeHasBeenSet; }
57 inline void SetAddressType(const AddressType& value) { m_addressTypeHasBeenSet = true; m_addressType = value; }
58 inline void SetAddressType(AddressType&& value) { m_addressTypeHasBeenSet = true; m_addressType = std::move(value); }
59 inline UpdateSiteAddressRequest& WithAddressType(const AddressType& value) { SetAddressType(value); return *this;}
60 inline UpdateSiteAddressRequest& WithAddressType(AddressType&& value) { SetAddressType(std::move(value)); return *this;}
62
64
67 inline const Address& GetAddress() const{ return m_address; }
68 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
69 inline void SetAddress(const Address& value) { m_addressHasBeenSet = true; m_address = value; }
70 inline void SetAddress(Address&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
71 inline UpdateSiteAddressRequest& WithAddress(const Address& value) { SetAddress(value); return *this;}
72 inline UpdateSiteAddressRequest& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_siteId;
77 bool m_siteIdHasBeenSet = false;
78
79 AddressType m_addressType;
80 bool m_addressTypeHasBeenSet = false;
81
82 Address m_address;
83 bool m_addressHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Outposts
88} // namespace Aws
UpdateSiteAddressRequest & WithSiteId(Aws::String &&value)
UpdateSiteAddressRequest & WithAddress(Address &&value)
UpdateSiteAddressRequest & WithAddressType(const AddressType &value)
UpdateSiteAddressRequest & WithSiteId(const char *value)
UpdateSiteAddressRequest & WithAddressType(AddressType &&value)
UpdateSiteAddressRequest & WithAddress(const Address &value)
UpdateSiteAddressRequest & WithSiteId(const Aws::String &value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String