AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDisassociateScramSecretRequest.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:
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_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 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
52 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
53 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
54 inline BatchDisassociateScramSecretRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
55 inline BatchDisassociateScramSecretRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
56 inline BatchDisassociateScramSecretRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
58
60
65 inline const Aws::Vector<Aws::String>& GetSecretArnList() const{ return m_secretArnList; }
66 inline bool SecretArnListHasBeenSet() const { return m_secretArnListHasBeenSet; }
67 inline void SetSecretArnList(const Aws::Vector<Aws::String>& value) { m_secretArnListHasBeenSet = true; m_secretArnList = value; }
68 inline void SetSecretArnList(Aws::Vector<Aws::String>&& value) { m_secretArnListHasBeenSet = true; m_secretArnList = std::move(value); }
71 inline BatchDisassociateScramSecretRequest& AddSecretArnList(const Aws::String& value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(value); return *this; }
72 inline BatchDisassociateScramSecretRequest& AddSecretArnList(Aws::String&& value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(std::move(value)); return *this; }
73 inline BatchDisassociateScramSecretRequest& AddSecretArnList(const char* value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(value); return *this; }
75 private:
76
77 Aws::String m_clusterArn;
78 bool m_clusterArnHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_secretArnList;
81 bool m_secretArnListHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Kafka
86} // namespace Aws
BatchDisassociateScramSecretRequest & WithSecretArnList(Aws::Vector< Aws::String > &&value)
BatchDisassociateScramSecretRequest & AddSecretArnList(const Aws::String &value)
BatchDisassociateScramSecretRequest & AddSecretArnList(const char *value)
BatchDisassociateScramSecretRequest & AddSecretArnList(Aws::String &&value)
BatchDisassociateScramSecretRequest & WithClusterArn(const char *value)
BatchDisassociateScramSecretRequest & WithSecretArnList(const Aws::Vector< Aws::String > &value)
BatchDisassociateScramSecretRequest & WithClusterArn(const Aws::String &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
BatchDisassociateScramSecretRequest & WithClusterArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector