AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
CreatePrivateConnectivityConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/outposts/OutpostsRequest.h>
10#include <aws/outposts/Outposts_EXPORTS.h>
11#include <aws/outposts/model/VpcInformation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Outposts {
17namespace Model {
18
22 public:
23 AWS_OUTPOSTS_API CreatePrivateConnectivityConfigRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreatePrivateConnectivityConfig"; }
30
31 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
38 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
39 template <typename OutpostIdT = Aws::String>
40 void SetOutpostId(OutpostIdT&& value) {
41 m_outpostIdHasBeenSet = true;
42 m_outpostId = std::forward<OutpostIdT>(value);
43 }
44 template <typename OutpostIdT = Aws::String>
46 SetOutpostId(std::forward<OutpostIdT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::Vector<VpcInformation>& GetVpcInformationList() const { return m_vpcInformationList; }
58 inline bool VpcInformationListHasBeenSet() const { return m_vpcInformationListHasBeenSet; }
59 template <typename VpcInformationListT = Aws::Vector<VpcInformation>>
60 void SetVpcInformationList(VpcInformationListT&& value) {
61 m_vpcInformationListHasBeenSet = true;
62 m_vpcInformationList = std::forward<VpcInformationListT>(value);
63 }
64 template <typename VpcInformationListT = Aws::Vector<VpcInformation>>
66 SetVpcInformationList(std::forward<VpcInformationListT>(value));
67 return *this;
68 }
69 template <typename VpcInformationListT = VpcInformation>
71 m_vpcInformationListHasBeenSet = true;
72 m_vpcInformationList.emplace_back(std::forward<VpcInformationListT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_outpostId;
78
79 Aws::Vector<VpcInformation> m_vpcInformationList;
80 bool m_outpostIdHasBeenSet = false;
81 bool m_vpcInformationListHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Outposts
86} // namespace Aws
CreatePrivateConnectivityConfigRequest & WithVpcInformationList(VpcInformationListT &&value)
CreatePrivateConnectivityConfigRequest & WithOutpostId(OutpostIdT &&value)
CreatePrivateConnectivityConfigRequest & AddVpcInformationList(VpcInformationListT &&value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector