AWS SDK for C++  1.9.104
AWS SDK for C++
BatchAssociateScramSecretResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Kafka
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
43 
49  inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
50 
56  inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
57 
63  inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
64 
70  inline BatchAssociateScramSecretResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
71 
77  inline BatchAssociateScramSecretResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
78 
84  inline BatchAssociateScramSecretResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
85 
86 
93  inline const Aws::Vector<UnprocessedScramSecret>& GetUnprocessedScramSecrets() const{ return m_unprocessedScramSecrets; }
94 
101  inline void SetUnprocessedScramSecrets(const Aws::Vector<UnprocessedScramSecret>& value) { m_unprocessedScramSecrets = value; }
102 
109  inline void SetUnprocessedScramSecrets(Aws::Vector<UnprocessedScramSecret>&& value) { m_unprocessedScramSecrets = std::move(value); }
110 
117  inline BatchAssociateScramSecretResult& WithUnprocessedScramSecrets(const Aws::Vector<UnprocessedScramSecret>& value) { SetUnprocessedScramSecrets(value); return *this;}
118 
125  inline BatchAssociateScramSecretResult& WithUnprocessedScramSecrets(Aws::Vector<UnprocessedScramSecret>&& value) { SetUnprocessedScramSecrets(std::move(value)); return *this;}
126 
133  inline BatchAssociateScramSecretResult& AddUnprocessedScramSecrets(const UnprocessedScramSecret& value) { m_unprocessedScramSecrets.push_back(value); return *this; }
134 
141  inline BatchAssociateScramSecretResult& AddUnprocessedScramSecrets(UnprocessedScramSecret&& value) { m_unprocessedScramSecrets.push_back(std::move(value)); return *this; }
142 
143  private:
144 
145  Aws::String m_clusterArn;
146 
147  Aws::Vector<UnprocessedScramSecret> m_unprocessedScramSecrets;
148  };
149 
150 } // namespace Model
151 } // namespace Kafka
152 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::BatchAssociateScramSecretResult::WithUnprocessedScramSecrets
BatchAssociateScramSecretResult & WithUnprocessedScramSecrets(const Aws::Vector< UnprocessedScramSecret > &value)
Definition: BatchAssociateScramSecretResult.h:117
Aws::Kafka::Model::BatchAssociateScramSecretResult::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: BatchAssociateScramSecretResult.h:49
Aws::Kafka::Model::BatchAssociateScramSecretResult::WithClusterArn
BatchAssociateScramSecretResult & WithClusterArn(Aws::String &&value)
Definition: BatchAssociateScramSecretResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::BatchAssociateScramSecretResult::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: BatchAssociateScramSecretResult.h:42
AWSVector.h
Aws::Kafka::Model::BatchAssociateScramSecretResult::WithClusterArn
BatchAssociateScramSecretResult & WithClusterArn(const char *value)
Definition: BatchAssociateScramSecretResult.h:84
Aws::Kafka::Model::BatchAssociateScramSecretResult::GetUnprocessedScramSecrets
const Aws::Vector< UnprocessedScramSecret > & GetUnprocessedScramSecrets() const
Definition: BatchAssociateScramSecretResult.h:93
Aws::Kafka::Model::UnprocessedScramSecret
Definition: UnprocessedScramSecret.h:35
Aws::Kafka::Model::BatchAssociateScramSecretResult::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: BatchAssociateScramSecretResult.h:56
Aws::Kafka::Model::BatchAssociateScramSecretResult::BatchAssociateScramSecretResult
BatchAssociateScramSecretResult()
Aws::Kafka::Model::BatchAssociateScramSecretResult::BatchAssociateScramSecretResult
BatchAssociateScramSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::BatchAssociateScramSecretResult::WithUnprocessedScramSecrets
BatchAssociateScramSecretResult & WithUnprocessedScramSecrets(Aws::Vector< UnprocessedScramSecret > &&value)
Definition: BatchAssociateScramSecretResult.h:125
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BatchAssociateScramSecretResult::WithClusterArn
BatchAssociateScramSecretResult & WithClusterArn(const Aws::String &value)
Definition: BatchAssociateScramSecretResult.h:70
Aws::Kafka::Model::BatchAssociateScramSecretResult::operator=
BatchAssociateScramSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
UnprocessedScramSecret.h
Aws::Kafka::Model::BatchAssociateScramSecretResult::SetUnprocessedScramSecrets
void SetUnprocessedScramSecrets(const Aws::Vector< UnprocessedScramSecret > &value)
Definition: BatchAssociateScramSecretResult.h:101
Aws::Kafka::Model::BatchAssociateScramSecretResult::AddUnprocessedScramSecrets
BatchAssociateScramSecretResult & AddUnprocessedScramSecrets(const UnprocessedScramSecret &value)
Definition: BatchAssociateScramSecretResult.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::BatchAssociateScramSecretResult::SetClusterArn
void SetClusterArn(const char *value)
Definition: BatchAssociateScramSecretResult.h:63
Kafka_EXPORTS.h
Aws::Kafka::Model::BatchAssociateScramSecretResult::SetUnprocessedScramSecrets
void SetUnprocessedScramSecrets(Aws::Vector< UnprocessedScramSecret > &&value)
Definition: BatchAssociateScramSecretResult.h:109
Aws::Kafka::Model::BatchAssociateScramSecretResult
Definition: BatchAssociateScramSecretResult.h:30
Aws::Kafka::Model::BatchAssociateScramSecretResult::AddUnprocessedScramSecrets
BatchAssociateScramSecretResult & AddUnprocessedScramSecrets(UnprocessedScramSecret &&value)
Definition: BatchAssociateScramSecretResult.h:141