AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAuthenticationProfileRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateAuthenticationProfile"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAuthenticationProfileId() const{ return m_authenticationProfileId; }
41 inline bool AuthenticationProfileIdHasBeenSet() const { return m_authenticationProfileIdHasBeenSet; }
42 inline void SetAuthenticationProfileId(const Aws::String& value) { m_authenticationProfileIdHasBeenSet = true; m_authenticationProfileId = value; }
43 inline void SetAuthenticationProfileId(Aws::String&& value) { m_authenticationProfileIdHasBeenSet = true; m_authenticationProfileId = std::move(value); }
44 inline void SetAuthenticationProfileId(const char* value) { m_authenticationProfileIdHasBeenSet = true; m_authenticationProfileId.assign(value); }
49
51
56 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
57 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
58 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
59 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
61 inline UpdateAuthenticationProfileRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
62 inline UpdateAuthenticationProfileRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
63 inline UpdateAuthenticationProfileRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
65
67
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
73 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 inline UpdateAuthenticationProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline UpdateAuthenticationProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline UpdateAuthenticationProfileRequest& WithName(const char* value) { SetName(value); return *this;}
79
81
84 inline const Aws::String& GetDescription() const{ return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline UpdateAuthenticationProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline UpdateAuthenticationProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
101 inline const Aws::Vector<Aws::String>& GetAllowedIps() const{ return m_allowedIps; }
102 inline bool AllowedIpsHasBeenSet() const { return m_allowedIpsHasBeenSet; }
103 inline void SetAllowedIps(const Aws::Vector<Aws::String>& value) { m_allowedIpsHasBeenSet = true; m_allowedIps = value; }
104 inline void SetAllowedIps(Aws::Vector<Aws::String>&& value) { m_allowedIpsHasBeenSet = true; m_allowedIps = std::move(value); }
107 inline UpdateAuthenticationProfileRequest& AddAllowedIps(const Aws::String& value) { m_allowedIpsHasBeenSet = true; m_allowedIps.push_back(value); return *this; }
108 inline UpdateAuthenticationProfileRequest& AddAllowedIps(Aws::String&& value) { m_allowedIpsHasBeenSet = true; m_allowedIps.push_back(std::move(value)); return *this; }
109 inline UpdateAuthenticationProfileRequest& AddAllowedIps(const char* value) { m_allowedIpsHasBeenSet = true; m_allowedIps.push_back(value); return *this; }
111
113
121 inline const Aws::Vector<Aws::String>& GetBlockedIps() const{ return m_blockedIps; }
122 inline bool BlockedIpsHasBeenSet() const { return m_blockedIpsHasBeenSet; }
123 inline void SetBlockedIps(const Aws::Vector<Aws::String>& value) { m_blockedIpsHasBeenSet = true; m_blockedIps = value; }
124 inline void SetBlockedIps(Aws::Vector<Aws::String>&& value) { m_blockedIpsHasBeenSet = true; m_blockedIps = std::move(value); }
127 inline UpdateAuthenticationProfileRequest& AddBlockedIps(const Aws::String& value) { m_blockedIpsHasBeenSet = true; m_blockedIps.push_back(value); return *this; }
128 inline UpdateAuthenticationProfileRequest& AddBlockedIps(Aws::String&& value) { m_blockedIpsHasBeenSet = true; m_blockedIps.push_back(std::move(value)); return *this; }
129 inline UpdateAuthenticationProfileRequest& AddBlockedIps(const char* value) { m_blockedIpsHasBeenSet = true; m_blockedIps.push_back(value); return *this; }
131
133
141 inline int GetPeriodicSessionDuration() const{ return m_periodicSessionDuration; }
142 inline bool PeriodicSessionDurationHasBeenSet() const { return m_periodicSessionDurationHasBeenSet; }
143 inline void SetPeriodicSessionDuration(int value) { m_periodicSessionDurationHasBeenSet = true; m_periodicSessionDuration = value; }
146 private:
147
148 Aws::String m_authenticationProfileId;
149 bool m_authenticationProfileIdHasBeenSet = false;
150
151 Aws::String m_instanceId;
152 bool m_instanceIdHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_allowedIps;
161 bool m_allowedIpsHasBeenSet = false;
162
163 Aws::Vector<Aws::String> m_blockedIps;
164 bool m_blockedIpsHasBeenSet = false;
165
166 int m_periodicSessionDuration;
167 bool m_periodicSessionDurationHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Connect
172} // namespace Aws
UpdateAuthenticationProfileRequest & WithInstanceId(Aws::String &&value)
UpdateAuthenticationProfileRequest & WithDescription(Aws::String &&value)
UpdateAuthenticationProfileRequest & WithBlockedIps(Aws::Vector< Aws::String > &&value)
UpdateAuthenticationProfileRequest & AddBlockedIps(const Aws::String &value)
UpdateAuthenticationProfileRequest & AddAllowedIps(Aws::String &&value)
UpdateAuthenticationProfileRequest & WithInstanceId(const char *value)
UpdateAuthenticationProfileRequest & WithAuthenticationProfileId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateAuthenticationProfileRequest & WithName(Aws::String &&value)
UpdateAuthenticationProfileRequest & AddBlockedIps(Aws::String &&value)
UpdateAuthenticationProfileRequest & WithDescription(const char *value)
UpdateAuthenticationProfileRequest & WithAllowedIps(Aws::Vector< Aws::String > &&value)
UpdateAuthenticationProfileRequest & WithDescription(const Aws::String &value)
UpdateAuthenticationProfileRequest & WithName(const char *value)
UpdateAuthenticationProfileRequest & WithInstanceId(const Aws::String &value)
UpdateAuthenticationProfileRequest & AddAllowedIps(const Aws::String &value)
UpdateAuthenticationProfileRequest & WithAllowedIps(const Aws::Vector< Aws::String > &value)
UpdateAuthenticationProfileRequest & AddAllowedIps(const char *value)
UpdateAuthenticationProfileRequest & WithAuthenticationProfileId(Aws::String &&value)
UpdateAuthenticationProfileRequest & AddBlockedIps(const char *value)
UpdateAuthenticationProfileRequest & WithName(const Aws::String &value)
UpdateAuthenticationProfileRequest & WithBlockedIps(const Aws::Vector< Aws::String > &value)
UpdateAuthenticationProfileRequest & WithPeriodicSessionDuration(int value)
UpdateAuthenticationProfileRequest & WithAuthenticationProfileId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector