AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientAuthentication(const ClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; }
47 inline void SetClientAuthentication(ClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); }
51
53
59 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
60 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
61 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
62 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
63 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
64 inline UpdateSecurityRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
65 inline UpdateSecurityRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
66 inline UpdateSecurityRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
68
70
78 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
79 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
80 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
81 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
82 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
83 inline UpdateSecurityRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
84 inline UpdateSecurityRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
85 inline UpdateSecurityRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
87
89
94 inline const EncryptionInfo& GetEncryptionInfo() const{ return m_encryptionInfo; }
95 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
96 inline void SetEncryptionInfo(const EncryptionInfo& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = value; }
97 inline void SetEncryptionInfo(EncryptionInfo&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::move(value); }
98 inline UpdateSecurityRequest& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;}
99 inline UpdateSecurityRequest& WithEncryptionInfo(EncryptionInfo&& value) { SetEncryptionInfo(std::move(value)); return *this;}
101 private:
102
103 ClientAuthentication m_clientAuthentication;
104 bool m_clientAuthenticationHasBeenSet = false;
105
106 Aws::String m_clusterArn;
107 bool m_clusterArnHasBeenSet = false;
108
109 Aws::String m_currentVersion;
110 bool m_currentVersionHasBeenSet = false;
111
112 EncryptionInfo m_encryptionInfo;
113 bool m_encryptionInfoHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Kafka
118} // namespace Aws
void SetEncryptionInfo(EncryptionInfo &&value)
UpdateSecurityRequest & WithClusterArn(const char *value)
void SetClientAuthentication(ClientAuthentication &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateSecurityRequest & WithClientAuthentication(ClientAuthentication &&value)
const ClientAuthentication & GetClientAuthentication() const
void SetClientAuthentication(const ClientAuthentication &value)
void SetEncryptionInfo(const EncryptionInfo &value)
UpdateSecurityRequest & WithClusterArn(const Aws::String &value)
UpdateSecurityRequest & WithEncryptionInfo(const EncryptionInfo &value)
const EncryptionInfo & GetEncryptionInfo() const
UpdateSecurityRequest & WithCurrentVersion(const char *value)
void SetClusterArn(const Aws::String &value)
UpdateSecurityRequest & WithCurrentVersion(Aws::String &&value)
UpdateSecurityRequest & WithCurrentVersion(const Aws::String &value)
UpdateSecurityRequest & WithEncryptionInfo(EncryptionInfo &&value)
void SetCurrentVersion(const Aws::String &value)
UpdateSecurityRequest & WithClientAuthentication(const ClientAuthentication &value)
UpdateSecurityRequest & WithClusterArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String