AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchAssociateAnalyticsDataSetResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/AnalyticsDataAssociationResult.h>
11#include <aws/connect/model/ErrorResult.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 Connect
27{
28namespace Model
29{
31 {
32 public:
36
37
39
44 inline const Aws::Vector<AnalyticsDataAssociationResult>& GetCreated() const{ return m_created; }
45 inline void SetCreated(const Aws::Vector<AnalyticsDataAssociationResult>& value) { m_created = value; }
46 inline void SetCreated(Aws::Vector<AnalyticsDataAssociationResult>&& value) { m_created = std::move(value); }
49 inline BatchAssociateAnalyticsDataSetResult& AddCreated(const AnalyticsDataAssociationResult& value) { m_created.push_back(value); return *this; }
50 inline BatchAssociateAnalyticsDataSetResult& AddCreated(AnalyticsDataAssociationResult&& value) { m_created.push_back(std::move(value)); return *this; }
52
54
58 inline const Aws::Vector<ErrorResult>& GetErrors() const{ return m_errors; }
59 inline void SetErrors(const Aws::Vector<ErrorResult>& value) { m_errors = value; }
60 inline void SetErrors(Aws::Vector<ErrorResult>&& value) { m_errors = std::move(value); }
62 inline BatchAssociateAnalyticsDataSetResult& WithErrors(Aws::Vector<ErrorResult>&& value) { SetErrors(std::move(value)); return *this;}
63 inline BatchAssociateAnalyticsDataSetResult& AddErrors(const ErrorResult& value) { m_errors.push_back(value); return *this; }
64 inline BatchAssociateAnalyticsDataSetResult& AddErrors(ErrorResult&& value) { m_errors.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline BatchAssociateAnalyticsDataSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline BatchAssociateAnalyticsDataSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline BatchAssociateAnalyticsDataSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Connect
88} // namespace Aws
BatchAssociateAnalyticsDataSetResult & WithRequestId(Aws::String &&value)
BatchAssociateAnalyticsDataSetResult & AddErrors(ErrorResult &&value)
const Aws::Vector< AnalyticsDataAssociationResult > & GetCreated() const
void SetCreated(const Aws::Vector< AnalyticsDataAssociationResult > &value)
void SetCreated(Aws::Vector< AnalyticsDataAssociationResult > &&value)
BatchAssociateAnalyticsDataSetResult & WithRequestId(const Aws::String &value)
BatchAssociateAnalyticsDataSetResult & AddErrors(const ErrorResult &value)
BatchAssociateAnalyticsDataSetResult & WithRequestId(const char *value)
BatchAssociateAnalyticsDataSetResult & WithErrors(const Aws::Vector< ErrorResult > &value)
BatchAssociateAnalyticsDataSetResult & WithErrors(Aws::Vector< ErrorResult > &&value)
BatchAssociateAnalyticsDataSetResult & WithCreated(Aws::Vector< AnalyticsDataAssociationResult > &&value)
BatchAssociateAnalyticsDataSetResult & AddCreated(AnalyticsDataAssociationResult &&value)
BatchAssociateAnalyticsDataSetResult & AddCreated(const AnalyticsDataAssociationResult &value)
AWS_CONNECT_API BatchAssociateAnalyticsDataSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchAssociateAnalyticsDataSetResult & WithCreated(const Aws::Vector< AnalyticsDataAssociationResult > &value)
AWS_CONNECT_API BatchAssociateAnalyticsDataSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue