AWS SDK for C++  1.9.104
AWS SDK for C++
BatchAssociateScramSecretRequest.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 "BatchAssociateScramSecret"; }
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 BatchAssociateScramSecretRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
89 
96  inline BatchAssociateScramSecretRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
97 
104  inline BatchAssociateScramSecretRequest& 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 BatchAssociateScramSecretRequest& WithSecretArnList(const Aws::Vector<Aws::String>& value) { SetSecretArnList(value); return *this;}
141 
147  inline BatchAssociateScramSecretRequest& WithSecretArnList(Aws::Vector<Aws::String>&& value) { SetSecretArnList(std::move(value)); return *this;}
148 
154  inline BatchAssociateScramSecretRequest& AddSecretArnList(const Aws::String& value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(value); return *this; }
155 
161  inline BatchAssociateScramSecretRequest& AddSecretArnList(Aws::String&& value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(std::move(value)); return *this; }
162 
168  inline BatchAssociateScramSecretRequest& 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::Model::BatchAssociateScramSecretRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::BatchAssociateScramSecretRequest::WithClusterArn
BatchAssociateScramSecretRequest & WithClusterArn(const Aws::String &value)
Definition: BatchAssociateScramSecretRequest.h:88
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::BatchAssociateScramSecretRequest::BatchAssociateScramSecretRequest
BatchAssociateScramSecretRequest()
Aws::Kafka::Model::BatchAssociateScramSecretRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchAssociateScramSecretRequest.h:37
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Kafka::Model::BatchAssociateScramSecretRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: BatchAssociateScramSecretRequest.h:72
Aws::Kafka::Model::BatchAssociateScramSecretRequest
Definition: BatchAssociateScramSecretRequest.h:29
Aws::Kafka::Model::BatchAssociateScramSecretRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: BatchAssociateScramSecretRequest.h:56
Aws::Kafka::Model::BatchAssociateScramSecretRequest::WithSecretArnList
BatchAssociateScramSecretRequest & WithSecretArnList(Aws::Vector< Aws::String > &&value)
Definition: BatchAssociateScramSecretRequest.h:147
Aws::Kafka::Model::BatchAssociateScramSecretRequest::WithClusterArn
BatchAssociateScramSecretRequest & WithClusterArn(Aws::String &&value)
Definition: BatchAssociateScramSecretRequest.h:96
Aws::Kafka::Model::BatchAssociateScramSecretRequest::GetSecretArnList
const Aws::Vector< Aws::String > & GetSecretArnList() const
Definition: BatchAssociateScramSecretRequest.h:112
Aws::Kafka::Model::BatchAssociateScramSecretRequest::AddSecretArnList
BatchAssociateScramSecretRequest & AddSecretArnList(const char *value)
Definition: BatchAssociateScramSecretRequest.h:168
Aws::Kafka::Model::BatchAssociateScramSecretRequest::WithSecretArnList
BatchAssociateScramSecretRequest & WithSecretArnList(const Aws::Vector< Aws::String > &value)
Definition: BatchAssociateScramSecretRequest.h:140
Aws::Kafka::Model::BatchAssociateScramSecretRequest::SetSecretArnList
void SetSecretArnList(const Aws::Vector< Aws::String > &value)
Definition: BatchAssociateScramSecretRequest.h:126
Aws::Kafka::Model::BatchAssociateScramSecretRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: BatchAssociateScramSecretRequest.h:48
Aws::Kafka::Model::BatchAssociateScramSecretRequest::WithClusterArn
BatchAssociateScramSecretRequest & WithClusterArn(const char *value)
Definition: BatchAssociateScramSecretRequest.h:104
AWSString.h
Aws::Kafka::Model::BatchAssociateScramSecretRequest::AddSecretArnList
BatchAssociateScramSecretRequest & AddSecretArnList(const Aws::String &value)
Definition: BatchAssociateScramSecretRequest.h:154
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BatchAssociateScramSecretRequest::AddSecretArnList
BatchAssociateScramSecretRequest & AddSecretArnList(Aws::String &&value)
Definition: BatchAssociateScramSecretRequest.h:161
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::BatchAssociateScramSecretRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: BatchAssociateScramSecretRequest.h:64
Aws::Kafka::Model::BatchAssociateScramSecretRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: BatchAssociateScramSecretRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::BatchAssociateScramSecretRequest::SetSecretArnList
void SetSecretArnList(Aws::Vector< Aws::String > &&value)
Definition: BatchAssociateScramSecretRequest.h:133
Aws::Kafka::Model::BatchAssociateScramSecretRequest::SecretArnListHasBeenSet
bool SecretArnListHasBeenSet() const
Definition: BatchAssociateScramSecretRequest.h:119