AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchDisassociateScramSecretRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/KafkaRequest.h>
10#include <aws/kafka/Kafka_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Kafka {
16namespace Model {
17
27 public:
28 AWS_KAFKA_API BatchDisassociateScramSecretRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateScramSecret"; }
35
36 AWS_KAFKA_API Aws::String SerializePayload() const override;
37
39
45 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
46 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
47 template <typename ClusterArnT = Aws::String>
48 void SetClusterArn(ClusterArnT&& value) {
49 m_clusterArnHasBeenSet = true;
50 m_clusterArn = std::forward<ClusterArnT>(value);
51 }
52 template <typename ClusterArnT = Aws::String>
54 SetClusterArn(std::forward<ClusterArnT>(value));
55 return *this;
56 }
58
60
65 inline const Aws::Vector<Aws::String>& GetSecretArnList() const { return m_secretArnList; }
66 inline bool SecretArnListHasBeenSet() const { return m_secretArnListHasBeenSet; }
67 template <typename SecretArnListT = Aws::Vector<Aws::String>>
68 void SetSecretArnList(SecretArnListT&& value) {
69 m_secretArnListHasBeenSet = true;
70 m_secretArnList = std::forward<SecretArnListT>(value);
71 }
72 template <typename SecretArnListT = Aws::Vector<Aws::String>>
74 SetSecretArnList(std::forward<SecretArnListT>(value));
75 return *this;
76 }
77 template <typename SecretArnListT = Aws::String>
79 m_secretArnListHasBeenSet = true;
80 m_secretArnList.emplace_back(std::forward<SecretArnListT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_clusterArn;
86
87 Aws::Vector<Aws::String> m_secretArnList;
88 bool m_clusterArnHasBeenSet = false;
89 bool m_secretArnListHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Kafka
94} // namespace Aws
BatchDisassociateScramSecretRequest & WithSecretArnList(SecretArnListT &&value)
BatchDisassociateScramSecretRequest & AddSecretArnList(SecretArnListT &&value)
BatchDisassociateScramSecretRequest & WithClusterArn(ClusterArnT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector