AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigureAccessPointRequest.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/PrivateNetworksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/privatenetworks/model/Position.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PrivateNetworks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PRIVATENETWORKS_API ConfigureAccessPointRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ConfigureAccessPoint"; }
32
33 AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
41 inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
42 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; }
43 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); }
44 inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); }
45 inline ConfigureAccessPointRequest& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
46 inline ConfigureAccessPointRequest& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
47 inline ConfigureAccessPointRequest& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
49
51
55 inline const Aws::String& GetCpiSecretKey() const{ return m_cpiSecretKey; }
56 inline bool CpiSecretKeyHasBeenSet() const { return m_cpiSecretKeyHasBeenSet; }
57 inline void SetCpiSecretKey(const Aws::String& value) { m_cpiSecretKeyHasBeenSet = true; m_cpiSecretKey = value; }
58 inline void SetCpiSecretKey(Aws::String&& value) { m_cpiSecretKeyHasBeenSet = true; m_cpiSecretKey = std::move(value); }
59 inline void SetCpiSecretKey(const char* value) { m_cpiSecretKeyHasBeenSet = true; m_cpiSecretKey.assign(value); }
60 inline ConfigureAccessPointRequest& WithCpiSecretKey(const Aws::String& value) { SetCpiSecretKey(value); return *this;}
61 inline ConfigureAccessPointRequest& WithCpiSecretKey(Aws::String&& value) { SetCpiSecretKey(std::move(value)); return *this;}
62 inline ConfigureAccessPointRequest& WithCpiSecretKey(const char* value) { SetCpiSecretKey(value); return *this;}
64
66
70 inline const Aws::String& GetCpiUserId() const{ return m_cpiUserId; }
71 inline bool CpiUserIdHasBeenSet() const { return m_cpiUserIdHasBeenSet; }
72 inline void SetCpiUserId(const Aws::String& value) { m_cpiUserIdHasBeenSet = true; m_cpiUserId = value; }
73 inline void SetCpiUserId(Aws::String&& value) { m_cpiUserIdHasBeenSet = true; m_cpiUserId = std::move(value); }
74 inline void SetCpiUserId(const char* value) { m_cpiUserIdHasBeenSet = true; m_cpiUserId.assign(value); }
75 inline ConfigureAccessPointRequest& WithCpiUserId(const Aws::String& value) { SetCpiUserId(value); return *this;}
76 inline ConfigureAccessPointRequest& WithCpiUserId(Aws::String&& value) { SetCpiUserId(std::move(value)); return *this;}
77 inline ConfigureAccessPointRequest& WithCpiUserId(const char* value) { SetCpiUserId(value); return *this;}
79
81
85 inline const Aws::String& GetCpiUserPassword() const{ return m_cpiUserPassword; }
86 inline bool CpiUserPasswordHasBeenSet() const { return m_cpiUserPasswordHasBeenSet; }
87 inline void SetCpiUserPassword(const Aws::String& value) { m_cpiUserPasswordHasBeenSet = true; m_cpiUserPassword = value; }
88 inline void SetCpiUserPassword(Aws::String&& value) { m_cpiUserPasswordHasBeenSet = true; m_cpiUserPassword = std::move(value); }
89 inline void SetCpiUserPassword(const char* value) { m_cpiUserPasswordHasBeenSet = true; m_cpiUserPassword.assign(value); }
91 inline ConfigureAccessPointRequest& WithCpiUserPassword(Aws::String&& value) { SetCpiUserPassword(std::move(value)); return *this;}
92 inline ConfigureAccessPointRequest& WithCpiUserPassword(const char* value) { SetCpiUserPassword(value); return *this;}
94
96
100 inline const Aws::String& GetCpiUsername() const{ return m_cpiUsername; }
101 inline bool CpiUsernameHasBeenSet() const { return m_cpiUsernameHasBeenSet; }
102 inline void SetCpiUsername(const Aws::String& value) { m_cpiUsernameHasBeenSet = true; m_cpiUsername = value; }
103 inline void SetCpiUsername(Aws::String&& value) { m_cpiUsernameHasBeenSet = true; m_cpiUsername = std::move(value); }
104 inline void SetCpiUsername(const char* value) { m_cpiUsernameHasBeenSet = true; m_cpiUsername.assign(value); }
105 inline ConfigureAccessPointRequest& WithCpiUsername(const Aws::String& value) { SetCpiUsername(value); return *this;}
106 inline ConfigureAccessPointRequest& WithCpiUsername(Aws::String&& value) { SetCpiUsername(std::move(value)); return *this;}
107 inline ConfigureAccessPointRequest& WithCpiUsername(const char* value) { SetCpiUsername(value); return *this;}
109
111
114 inline const Position& GetPosition() const{ return m_position; }
115 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
116 inline void SetPosition(const Position& value) { m_positionHasBeenSet = true; m_position = value; }
117 inline void SetPosition(Position&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
118 inline ConfigureAccessPointRequest& WithPosition(const Position& value) { SetPosition(value); return *this;}
119 inline ConfigureAccessPointRequest& WithPosition(Position&& value) { SetPosition(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_accessPointArn;
124 bool m_accessPointArnHasBeenSet = false;
125
126 Aws::String m_cpiSecretKey;
127 bool m_cpiSecretKeyHasBeenSet = false;
128
129 Aws::String m_cpiUserId;
130 bool m_cpiUserIdHasBeenSet = false;
131
132 Aws::String m_cpiUserPassword;
133 bool m_cpiUserPasswordHasBeenSet = false;
134
135 Aws::String m_cpiUsername;
136 bool m_cpiUsernameHasBeenSet = false;
137
138 Position m_position;
139 bool m_positionHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace PrivateNetworks
144} // namespace Aws
ConfigureAccessPointRequest & WithCpiSecretKey(const Aws::String &value)
ConfigureAccessPointRequest & WithCpiUsername(const Aws::String &value)
ConfigureAccessPointRequest & WithCpiUserId(Aws::String &&value)
ConfigureAccessPointRequest & WithPosition(const Position &value)
ConfigureAccessPointRequest & WithCpiSecretKey(Aws::String &&value)
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
ConfigureAccessPointRequest & WithCpiUsername(const char *value)
ConfigureAccessPointRequest & WithCpiUserPassword(Aws::String &&value)
ConfigureAccessPointRequest & WithAccessPointArn(const Aws::String &value)
ConfigureAccessPointRequest & WithCpiUserId(const Aws::String &value)
ConfigureAccessPointRequest & WithCpiUserPassword(const char *value)
ConfigureAccessPointRequest & WithAccessPointArn(Aws::String &&value)
ConfigureAccessPointRequest & WithCpiUserId(const char *value)
ConfigureAccessPointRequest & WithCpiUsername(Aws::String &&value)
ConfigureAccessPointRequest & WithCpiUserPassword(const Aws::String &value)
ConfigureAccessPointRequest & WithCpiSecretKey(const char *value)
ConfigureAccessPointRequest & WithAccessPointArn(const char *value)
ConfigureAccessPointRequest & WithPosition(Position &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String