AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchAssociateScramSecretRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.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 Kafka
16{
17namespace Model
18{
19
29 {
30 public:
31 AWS_KAFKA_API BatchAssociateScramSecretRequest() = default;
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_KAFKA_API Aws::String SerializePayload() const override;
40
41
43
49 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
50 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
51 template<typename ClusterArnT = Aws::String>
52 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
53 template<typename ClusterArnT = Aws::String>
54 BatchAssociateScramSecretRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
56
58
63 inline const Aws::Vector<Aws::String>& GetSecretArnList() const { return m_secretArnList; }
64 inline bool SecretArnListHasBeenSet() const { return m_secretArnListHasBeenSet; }
65 template<typename SecretArnListT = Aws::Vector<Aws::String>>
66 void SetSecretArnList(SecretArnListT&& value) { m_secretArnListHasBeenSet = true; m_secretArnList = std::forward<SecretArnListT>(value); }
67 template<typename SecretArnListT = Aws::Vector<Aws::String>>
68 BatchAssociateScramSecretRequest& WithSecretArnList(SecretArnListT&& value) { SetSecretArnList(std::forward<SecretArnListT>(value)); return *this;}
69 template<typename SecretArnListT = Aws::String>
70 BatchAssociateScramSecretRequest& AddSecretArnList(SecretArnListT&& value) { m_secretArnListHasBeenSet = true; m_secretArnList.emplace_back(std::forward<SecretArnListT>(value)); return *this; }
72 private:
73
74 Aws::String m_clusterArn;
75 bool m_clusterArnHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_secretArnList;
78 bool m_secretArnListHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
BatchAssociateScramSecretRequest & WithClusterArn(ClusterArnT &&value)
BatchAssociateScramSecretRequest & WithSecretArnList(SecretArnListT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
BatchAssociateScramSecretRequest & AddSecretArnList(SecretArnListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector