AWS SDK for C++  1.9.106
AWS SDK for C++
BatchDisassociateScramSecretRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Kafka
16 {
17 namespace Model
18 {
19 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateScramSecret"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
48  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
49 
56  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
57 
64  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
65 
72  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
73 
80  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
81 
88  inline BatchDisassociateScramSecretRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
89 
96  inline BatchDisassociateScramSecretRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
97 
104  inline BatchDisassociateScramSecretRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
105 
106 
112  inline const Aws::Vector<Aws::String>& GetSecretArnList() const{ return m_secretArnList; }
113 
119  inline bool SecretArnListHasBeenSet() const { return m_secretArnListHasBeenSet; }
120 
126  inline void SetSecretArnList(const Aws::Vector<Aws::String>& value) { m_secretArnListHasBeenSet = true; m_secretArnList = value; }
127 
133  inline void SetSecretArnList(Aws::Vector<Aws::String>&& value) { m_secretArnListHasBeenSet = true; m_secretArnList = std::move(value); }
134 
140  inline BatchDisassociateScramSecretRequest& WithSecretArnList(const Aws::Vector<Aws::String>& value) { SetSecretArnList(value); return *this;}
141 
147  inline BatchDisassociateScramSecretRequest& WithSecretArnList(Aws::Vector<Aws::String>&& value) { SetSecretArnList(std::move(value)); return *this;}
148 
154  inline BatchDisassociateScramSecretRequest& AddSecretArnList(const Aws::String& value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(value); return *this; }
155 
161  inline BatchDisassociateScramSecretRequest& AddSecretArnList(Aws::String&& value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(std::move(value)); return *this; }
162 
168  inline BatchDisassociateScramSecretRequest& AddSecretArnList(const char* value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(value); return *this; }
169 
170  private:
171 
172  Aws::String m_clusterArn;
173  bool m_clusterArnHasBeenSet;
174 
175  Aws::Vector<Aws::String> m_secretArnList;
176  bool m_secretArnListHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Kafka
181 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::BatchDisassociateScramSecretRequest
BatchDisassociateScramSecretRequest()
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: BatchDisassociateScramSecretRequest.h:48
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::WithClusterArn
BatchDisassociateScramSecretRequest & WithClusterArn(Aws::String &&value)
Definition: BatchDisassociateScramSecretRequest.h:96
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::WithSecretArnList
BatchDisassociateScramSecretRequest & WithSecretArnList(const Aws::Vector< Aws::String > &value)
Definition: BatchDisassociateScramSecretRequest.h:140
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: BatchDisassociateScramSecretRequest.h:80
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDisassociateScramSecretRequest.h:37
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::GetSecretArnList
const Aws::Vector< Aws::String > & GetSecretArnList() const
Definition: BatchDisassociateScramSecretRequest.h:112
AWSVector.h
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SetSecretArnList
void SetSecretArnList(Aws::Vector< Aws::String > &&value)
Definition: BatchDisassociateScramSecretRequest.h:133
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::WithSecretArnList
BatchDisassociateScramSecretRequest & WithSecretArnList(Aws::Vector< Aws::String > &&value)
Definition: BatchDisassociateScramSecretRequest.h:147
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: BatchDisassociateScramSecretRequest.h:64
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BatchDisassociateScramSecretRequest
Definition: BatchDisassociateScramSecretRequest.h:29
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: BatchDisassociateScramSecretRequest.h:72
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SecretArnListHasBeenSet
bool SecretArnListHasBeenSet() const
Definition: BatchDisassociateScramSecretRequest.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::WithClusterArn
BatchDisassociateScramSecretRequest & WithClusterArn(const char *value)
Definition: BatchDisassociateScramSecretRequest.h:104
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::AddSecretArnList
BatchDisassociateScramSecretRequest & AddSecretArnList(Aws::String &&value)
Definition: BatchDisassociateScramSecretRequest.h:161
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: BatchDisassociateScramSecretRequest.h:56
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::SetSecretArnList
void SetSecretArnList(const Aws::Vector< Aws::String > &value)
Definition: BatchDisassociateScramSecretRequest.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::AddSecretArnList
BatchDisassociateScramSecretRequest & AddSecretArnList(const char *value)
Definition: BatchDisassociateScramSecretRequest.h:168
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::WithClusterArn
BatchDisassociateScramSecretRequest & WithClusterArn(const Aws::String &value)
Definition: BatchDisassociateScramSecretRequest.h:88
Aws::Kafka::Model::BatchDisassociateScramSecretRequest::AddSecretArnList
BatchDisassociateScramSecretRequest & AddSecretArnList(const Aws::String &value)
Definition: BatchDisassociateScramSecretRequest.h:154