AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetSecretValueResult.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/secretsmanager/model/SecretValueEntry.h>
11#include <aws/secretsmanager/model/APIErrorType.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SecretsManager
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SECRETSMANAGER_API BatchGetSecretValueResult();
36
37
39
42 inline const Aws::Vector<SecretValueEntry>& GetSecretValues() const{ return m_secretValues; }
43 inline void SetSecretValues(const Aws::Vector<SecretValueEntry>& value) { m_secretValues = value; }
44 inline void SetSecretValues(Aws::Vector<SecretValueEntry>&& value) { m_secretValues = std::move(value); }
47 inline BatchGetSecretValueResult& AddSecretValues(const SecretValueEntry& value) { m_secretValues.push_back(value); return *this; }
48 inline BatchGetSecretValueResult& AddSecretValues(SecretValueEntry&& value) { m_secretValues.push_back(std::move(value)); return *this; }
50
52
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
63 inline BatchGetSecretValueResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline BatchGetSecretValueResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline BatchGetSecretValueResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
73 inline const Aws::Vector<APIErrorType>& GetErrors() const{ return m_errors; }
74 inline void SetErrors(const Aws::Vector<APIErrorType>& value) { m_errors = value; }
75 inline void SetErrors(Aws::Vector<APIErrorType>&& value) { m_errors = std::move(value); }
76 inline BatchGetSecretValueResult& WithErrors(const Aws::Vector<APIErrorType>& value) { SetErrors(value); return *this;}
77 inline BatchGetSecretValueResult& WithErrors(Aws::Vector<APIErrorType>&& value) { SetErrors(std::move(value)); return *this;}
78 inline BatchGetSecretValueResult& AddErrors(const APIErrorType& value) { m_errors.push_back(value); return *this; }
79 inline BatchGetSecretValueResult& AddErrors(APIErrorType&& value) { m_errors.push_back(std::move(value)); return *this; }
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline BatchGetSecretValueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline BatchGetSecretValueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline BatchGetSecretValueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::Vector<SecretValueEntry> m_secretValues;
95
96 Aws::String m_nextToken;
97
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace SecretsManager
105} // namespace Aws
BatchGetSecretValueResult & WithErrors(Aws::Vector< APIErrorType > &&value)
BatchGetSecretValueResult & WithSecretValues(Aws::Vector< SecretValueEntry > &&value)
BatchGetSecretValueResult & WithNextToken(const Aws::String &value)
BatchGetSecretValueResult & AddErrors(APIErrorType &&value)
BatchGetSecretValueResult & WithNextToken(Aws::String &&value)
void SetSecretValues(Aws::Vector< SecretValueEntry > &&value)
BatchGetSecretValueResult & WithErrors(const Aws::Vector< APIErrorType > &value)
BatchGetSecretValueResult & WithRequestId(const char *value)
BatchGetSecretValueResult & WithNextToken(const char *value)
void SetErrors(const Aws::Vector< APIErrorType > &value)
BatchGetSecretValueResult & AddErrors(const APIErrorType &value)
AWS_SECRETSMANAGER_API BatchGetSecretValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetSecretValueResult & AddSecretValues(SecretValueEntry &&value)
BatchGetSecretValueResult & WithRequestId(Aws::String &&value)
BatchGetSecretValueResult & WithSecretValues(const Aws::Vector< SecretValueEntry > &value)
BatchGetSecretValueResult & WithRequestId(const Aws::String &value)
const Aws::Vector< APIErrorType > & GetErrors() const
AWS_SECRETSMANAGER_API BatchGetSecretValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSecretValues(const Aws::Vector< SecretValueEntry > &value)
const Aws::Vector< SecretValueEntry > & GetSecretValues() const
BatchGetSecretValueResult & AddSecretValues(const SecretValueEntry &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