AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchDisassociateScramSecretResult.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/Kafka_EXPORTS.h>
10#include <aws/kafka/model/UnprocessedScramSecret.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Kafka {
24namespace Model {
26 public:
27 AWS_KAFKA_API BatchDisassociateScramSecretResult() = default;
30
32
37 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
38 template <typename ClusterArnT = Aws::String>
39 void SetClusterArn(ClusterArnT&& value) {
40 m_clusterArnHasBeenSet = true;
41 m_clusterArn = std::forward<ClusterArnT>(value);
42 }
43 template <typename ClusterArnT = Aws::String>
45 SetClusterArn(std::forward<ClusterArnT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::Vector<UnprocessedScramSecret>& GetUnprocessedScramSecrets() const { return m_unprocessedScramSecrets; }
58 template <typename UnprocessedScramSecretsT = Aws::Vector<UnprocessedScramSecret>>
59 void SetUnprocessedScramSecrets(UnprocessedScramSecretsT&& value) {
60 m_unprocessedScramSecretsHasBeenSet = true;
61 m_unprocessedScramSecrets = std::forward<UnprocessedScramSecretsT>(value);
62 }
63 template <typename UnprocessedScramSecretsT = Aws::Vector<UnprocessedScramSecret>>
65 SetUnprocessedScramSecrets(std::forward<UnprocessedScramSecretsT>(value));
66 return *this;
67 }
68 template <typename UnprocessedScramSecretsT = UnprocessedScramSecret>
70 m_unprocessedScramSecretsHasBeenSet = true;
71 m_unprocessedScramSecrets.emplace_back(std::forward<UnprocessedScramSecretsT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_clusterArn;
92
93 Aws::Vector<UnprocessedScramSecret> m_unprocessedScramSecrets;
94
95 Aws::String m_requestId;
96 bool m_clusterArnHasBeenSet = false;
97 bool m_unprocessedScramSecretsHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Kafka
103} // namespace Aws
BatchDisassociateScramSecretResult & WithUnprocessedScramSecrets(UnprocessedScramSecretsT &&value)
const Aws::Vector< UnprocessedScramSecret > & GetUnprocessedScramSecrets() const
BatchDisassociateScramSecretResult & WithRequestId(RequestIdT &&value)
AWS_KAFKA_API BatchDisassociateScramSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API BatchDisassociateScramSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDisassociateScramSecretResult & WithClusterArn(ClusterArnT &&value)
BatchDisassociateScramSecretResult & AddUnprocessedScramSecrets(UnprocessedScramSecretsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue