AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchAssociateScramSecretResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kafka/model/UnprocessedScramSecret.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Kafka
26{
27namespace Model
28{
30 {
31 public:
35
36
38
43 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
44 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
45 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
46 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
47 inline BatchAssociateScramSecretResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
48 inline BatchAssociateScramSecretResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
49 inline BatchAssociateScramSecretResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
51
53
59 inline const Aws::Vector<UnprocessedScramSecret>& GetUnprocessedScramSecrets() const{ return m_unprocessedScramSecrets; }
60 inline void SetUnprocessedScramSecrets(const Aws::Vector<UnprocessedScramSecret>& value) { m_unprocessedScramSecrets = value; }
61 inline void SetUnprocessedScramSecrets(Aws::Vector<UnprocessedScramSecret>&& value) { m_unprocessedScramSecrets = std::move(value); }
64 inline BatchAssociateScramSecretResult& AddUnprocessedScramSecrets(const UnprocessedScramSecret& value) { m_unprocessedScramSecrets.push_back(value); return *this; }
65 inline BatchAssociateScramSecretResult& AddUnprocessedScramSecrets(UnprocessedScramSecret&& value) { m_unprocessedScramSecrets.push_back(std::move(value)); return *this; }
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline BatchAssociateScramSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline BatchAssociateScramSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline BatchAssociateScramSecretResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_clusterArn;
81
82 Aws::Vector<UnprocessedScramSecret> m_unprocessedScramSecrets;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace Kafka
89} // namespace Aws
BatchAssociateScramSecretResult & WithClusterArn(const Aws::String &value)
BatchAssociateScramSecretResult & WithClusterArn(const char *value)
BatchAssociateScramSecretResult & WithUnprocessedScramSecrets(Aws::Vector< UnprocessedScramSecret > &&value)
BatchAssociateScramSecretResult & WithRequestId(const char *value)
AWS_KAFKA_API BatchAssociateScramSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnprocessedScramSecrets(const Aws::Vector< UnprocessedScramSecret > &value)
BatchAssociateScramSecretResult & AddUnprocessedScramSecrets(UnprocessedScramSecret &&value)
void SetUnprocessedScramSecrets(Aws::Vector< UnprocessedScramSecret > &&value)
BatchAssociateScramSecretResult & WithRequestId(const Aws::String &value)
BatchAssociateScramSecretResult & WithRequestId(Aws::String &&value)
BatchAssociateScramSecretResult & WithClusterArn(Aws::String &&value)
const Aws::Vector< UnprocessedScramSecret > & GetUnprocessedScramSecrets() const
AWS_KAFKA_API BatchAssociateScramSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchAssociateScramSecretResult & AddUnprocessedScramSecrets(const UnprocessedScramSecret &value)
BatchAssociateScramSecretResult & WithUnprocessedScramSecrets(const Aws::Vector< UnprocessedScramSecret > &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