AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateKeyRegistrationResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/FailedKeyRegistrationEntry.h>
11#include <aws/quicksight/model/SuccessfulKeyRegistrationEntry.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 QuickSight
27{
28namespace Model
29{
31 {
32 public:
33 AWS_QUICKSIGHT_API UpdateKeyRegistrationResult();
36
37
39
42 inline const Aws::Vector<FailedKeyRegistrationEntry>& GetFailedKeyRegistration() const{ return m_failedKeyRegistration; }
43 inline void SetFailedKeyRegistration(const Aws::Vector<FailedKeyRegistrationEntry>& value) { m_failedKeyRegistration = value; }
44 inline void SetFailedKeyRegistration(Aws::Vector<FailedKeyRegistrationEntry>&& value) { m_failedKeyRegistration = std::move(value); }
47 inline UpdateKeyRegistrationResult& AddFailedKeyRegistration(const FailedKeyRegistrationEntry& value) { m_failedKeyRegistration.push_back(value); return *this; }
48 inline UpdateKeyRegistrationResult& AddFailedKeyRegistration(FailedKeyRegistrationEntry&& value) { m_failedKeyRegistration.push_back(std::move(value)); return *this; }
50
52
56 inline const Aws::Vector<SuccessfulKeyRegistrationEntry>& GetSuccessfulKeyRegistration() const{ return m_successfulKeyRegistration; }
57 inline void SetSuccessfulKeyRegistration(const Aws::Vector<SuccessfulKeyRegistrationEntry>& value) { m_successfulKeyRegistration = value; }
58 inline void SetSuccessfulKeyRegistration(Aws::Vector<SuccessfulKeyRegistrationEntry>&& value) { m_successfulKeyRegistration = std::move(value); }
61 inline UpdateKeyRegistrationResult& AddSuccessfulKeyRegistration(const SuccessfulKeyRegistrationEntry& value) { m_successfulKeyRegistration.push_back(value); return *this; }
62 inline UpdateKeyRegistrationResult& AddSuccessfulKeyRegistration(SuccessfulKeyRegistrationEntry&& value) { m_successfulKeyRegistration.push_back(std::move(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline UpdateKeyRegistrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline UpdateKeyRegistrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline UpdateKeyRegistrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<FailedKeyRegistrationEntry> m_failedKeyRegistration;
78
79 Aws::Vector<SuccessfulKeyRegistrationEntry> m_successfulKeyRegistration;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace QuickSight
86} // namespace Aws
void SetSuccessfulKeyRegistration(const Aws::Vector< SuccessfulKeyRegistrationEntry > &value)
AWS_QUICKSIGHT_API UpdateKeyRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKeyRegistrationResult & AddFailedKeyRegistration(const FailedKeyRegistrationEntry &value)
void SetSuccessfulKeyRegistration(Aws::Vector< SuccessfulKeyRegistrationEntry > &&value)
UpdateKeyRegistrationResult & WithSuccessfulKeyRegistration(const Aws::Vector< SuccessfulKeyRegistrationEntry > &value)
AWS_QUICKSIGHT_API UpdateKeyRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKeyRegistrationResult & WithRequestId(const Aws::String &value)
const Aws::Vector< FailedKeyRegistrationEntry > & GetFailedKeyRegistration() const
UpdateKeyRegistrationResult & WithSuccessfulKeyRegistration(Aws::Vector< SuccessfulKeyRegistrationEntry > &&value)
UpdateKeyRegistrationResult & AddSuccessfulKeyRegistration(const SuccessfulKeyRegistrationEntry &value)
UpdateKeyRegistrationResult & WithRequestId(Aws::String &&value)
UpdateKeyRegistrationResult & WithRequestId(const char *value)
const Aws::Vector< SuccessfulKeyRegistrationEntry > & GetSuccessfulKeyRegistration() const
UpdateKeyRegistrationResult & WithFailedKeyRegistration(Aws::Vector< FailedKeyRegistrationEntry > &&value)
UpdateKeyRegistrationResult & AddFailedKeyRegistration(FailedKeyRegistrationEntry &&value)
UpdateKeyRegistrationResult & AddSuccessfulKeyRegistration(SuccessfulKeyRegistrationEntry &&value)
UpdateKeyRegistrationResult & WithFailedKeyRegistration(const Aws::Vector< FailedKeyRegistrationEntry > &value)
void SetFailedKeyRegistration(const Aws::Vector< FailedKeyRegistrationEntry > &value)
void SetFailedKeyRegistration(Aws::Vector< FailedKeyRegistrationEntry > &&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