AWS SDK for C++  1.9.106
AWS SDK for C++
ListScramSecretsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kafka
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
48  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
49 
55  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
56 
62  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
63 
69  inline ListScramSecretsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 
76  inline ListScramSecretsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 
83  inline ListScramSecretsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84 
85 
92  inline const Aws::Vector<Aws::String>& GetSecretArnList() const{ return m_secretArnList; }
93 
100  inline void SetSecretArnList(const Aws::Vector<Aws::String>& value) { m_secretArnList = value; }
101 
108  inline void SetSecretArnList(Aws::Vector<Aws::String>&& value) { m_secretArnList = std::move(value); }
109 
116  inline ListScramSecretsResult& WithSecretArnList(const Aws::Vector<Aws::String>& value) { SetSecretArnList(value); return *this;}
117 
124  inline ListScramSecretsResult& WithSecretArnList(Aws::Vector<Aws::String>&& value) { SetSecretArnList(std::move(value)); return *this;}
125 
132  inline ListScramSecretsResult& AddSecretArnList(const Aws::String& value) { m_secretArnList.push_back(value); return *this; }
133 
140  inline ListScramSecretsResult& AddSecretArnList(Aws::String&& value) { m_secretArnList.push_back(std::move(value)); return *this; }
141 
148  inline ListScramSecretsResult& AddSecretArnList(const char* value) { m_secretArnList.push_back(value); return *this; }
149 
150  private:
151 
152  Aws::String m_nextToken;
153 
154  Aws::Vector<Aws::String> m_secretArnList;
155  };
156 
157 } // namespace Model
158 } // namespace Kafka
159 } // namespace Aws
Aws::Kafka::Model::ListScramSecretsResult
Definition: ListScramSecretsResult.h:29
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::ListScramSecretsResult::AddSecretArnList
ListScramSecretsResult & AddSecretArnList(Aws::String &&value)
Definition: ListScramSecretsResult.h:140
Aws::Kafka::Model::ListScramSecretsResult::WithNextToken
ListScramSecretsResult & WithNextToken(Aws::String &&value)
Definition: ListScramSecretsResult.h:76
Aws::Kafka::Model::ListScramSecretsResult::ListScramSecretsResult
ListScramSecretsResult()
Aws::Kafka::Model::ListScramSecretsResult::ListScramSecretsResult
ListScramSecretsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::ListScramSecretsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListScramSecretsResult.h:41
AWSVector.h
Aws::Kafka::Model::ListScramSecretsResult::WithNextToken
ListScramSecretsResult & WithNextToken(const Aws::String &value)
Definition: ListScramSecretsResult.h:69
Aws::Kafka::Model::ListScramSecretsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListScramSecretsResult.h:48
Aws::Kafka::Model::ListScramSecretsResult::GetSecretArnList
const Aws::Vector< Aws::String > & GetSecretArnList() const
Definition: ListScramSecretsResult.h:92
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListScramSecretsResult::SetSecretArnList
void SetSecretArnList(const Aws::Vector< Aws::String > &value)
Definition: ListScramSecretsResult.h:100
Aws::Kafka::Model::ListScramSecretsResult::WithNextToken
ListScramSecretsResult & WithNextToken(const char *value)
Definition: ListScramSecretsResult.h:83
Aws::Kafka::Model::ListScramSecretsResult::WithSecretArnList
ListScramSecretsResult & WithSecretArnList(const Aws::Vector< Aws::String > &value)
Definition: ListScramSecretsResult.h:116
Aws::Kafka::Model::ListScramSecretsResult::WithSecretArnList
ListScramSecretsResult & WithSecretArnList(Aws::Vector< Aws::String > &&value)
Definition: ListScramSecretsResult.h:124
Aws::Kafka::Model::ListScramSecretsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListScramSecretsResult.h:62
Aws::Kafka::Model::ListScramSecretsResult::SetSecretArnList
void SetSecretArnList(Aws::Vector< Aws::String > &&value)
Definition: ListScramSecretsResult.h:108
Aws::Kafka::Model::ListScramSecretsResult::operator=
ListScramSecretsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ListScramSecretsResult::AddSecretArnList
ListScramSecretsResult & AddSecretArnList(const char *value)
Definition: ListScramSecretsResult.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::ListScramSecretsResult::AddSecretArnList
ListScramSecretsResult & AddSecretArnList(const Aws::String &value)
Definition: ListScramSecretsResult.h:132
Kafka_EXPORTS.h
Aws::Kafka::Model::ListScramSecretsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListScramSecretsResult.h:55