AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSecurityRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/model/ClientAuthentication.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kafka/model/EncryptionInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Kafka
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_KAFKA_API UpdateSecurityRequest() = default;
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 "UpdateSecurity"; }
33
34 AWS_KAFKA_API Aws::String SerializePayload() const override;
35
36
38
44 inline const ClientAuthentication& GetClientAuthentication() const { return m_clientAuthentication; }
45 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
46 template<typename ClientAuthenticationT = ClientAuthentication>
47 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
48 template<typename ClientAuthenticationT = ClientAuthentication>
49 UpdateSecurityRequest& WithClientAuthentication(ClientAuthenticationT&& value) { SetClientAuthentication(std::forward<ClientAuthenticationT>(value)); return *this;}
51
53
59 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
60 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
61 template<typename ClusterArnT = Aws::String>
62 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
63 template<typename ClusterArnT = Aws::String>
64 UpdateSecurityRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
66
68
76 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
77 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
78 template<typename CurrentVersionT = Aws::String>
79 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
80 template<typename CurrentVersionT = Aws::String>
81 UpdateSecurityRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
83
85
90 inline const EncryptionInfo& GetEncryptionInfo() const { return m_encryptionInfo; }
91 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
92 template<typename EncryptionInfoT = EncryptionInfo>
93 void SetEncryptionInfo(EncryptionInfoT&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::forward<EncryptionInfoT>(value); }
94 template<typename EncryptionInfoT = EncryptionInfo>
95 UpdateSecurityRequest& WithEncryptionInfo(EncryptionInfoT&& value) { SetEncryptionInfo(std::forward<EncryptionInfoT>(value)); return *this;}
97 private:
98
99 ClientAuthentication m_clientAuthentication;
100 bool m_clientAuthenticationHasBeenSet = false;
101
102 Aws::String m_clusterArn;
103 bool m_clusterArnHasBeenSet = false;
104
105 Aws::String m_currentVersion;
106 bool m_currentVersionHasBeenSet = false;
107
108 EncryptionInfo m_encryptionInfo;
109 bool m_encryptionInfoHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Kafka
114} // namespace Aws
void SetClientAuthentication(ClientAuthenticationT &&value)
UpdateSecurityRequest & WithEncryptionInfo(EncryptionInfoT &&value)
UpdateSecurityRequest & WithClientAuthentication(ClientAuthenticationT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetEncryptionInfo(EncryptionInfoT &&value)
UpdateSecurityRequest & WithCurrentVersion(CurrentVersionT &&value)
const ClientAuthentication & GetClientAuthentication() const
AWS_KAFKA_API UpdateSecurityRequest()=default
const EncryptionInfo & GetEncryptionInfo() const
void SetCurrentVersion(CurrentVersionT &&value)
UpdateSecurityRequest & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String