AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetEffectiveLifecyclePolicyResult.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/EffectiveLifecyclePolicyDetail.h>
11#include <aws/opensearchserverless/model/EffectiveLifecyclePolicyErrorDetail.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 OpenSearchServerless
27{
28namespace Model
29{
31 {
32 public:
33 AWS_OPENSEARCHSERVERLESS_API BatchGetEffectiveLifecyclePolicyResult();
36
37
39
43 inline const Aws::Vector<EffectiveLifecyclePolicyDetail>& GetEffectiveLifecyclePolicyDetails() const{ return m_effectiveLifecyclePolicyDetails; }
44 inline void SetEffectiveLifecyclePolicyDetails(const Aws::Vector<EffectiveLifecyclePolicyDetail>& value) { m_effectiveLifecyclePolicyDetails = value; }
45 inline void SetEffectiveLifecyclePolicyDetails(Aws::Vector<EffectiveLifecyclePolicyDetail>&& value) { m_effectiveLifecyclePolicyDetails = std::move(value); }
48 inline BatchGetEffectiveLifecyclePolicyResult& AddEffectiveLifecyclePolicyDetails(const EffectiveLifecyclePolicyDetail& value) { m_effectiveLifecyclePolicyDetails.push_back(value); return *this; }
49 inline BatchGetEffectiveLifecyclePolicyResult& AddEffectiveLifecyclePolicyDetails(EffectiveLifecyclePolicyDetail&& value) { m_effectiveLifecyclePolicyDetails.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Vector<EffectiveLifecyclePolicyErrorDetail>& GetEffectiveLifecyclePolicyErrorDetails() const{ return m_effectiveLifecyclePolicyErrorDetails; }
57 inline void SetEffectiveLifecyclePolicyErrorDetails(const Aws::Vector<EffectiveLifecyclePolicyErrorDetail>& value) { m_effectiveLifecyclePolicyErrorDetails = value; }
58 inline void SetEffectiveLifecyclePolicyErrorDetails(Aws::Vector<EffectiveLifecyclePolicyErrorDetail>&& value) { m_effectiveLifecyclePolicyErrorDetails = std::move(value); }
61 inline BatchGetEffectiveLifecyclePolicyResult& AddEffectiveLifecyclePolicyErrorDetails(const EffectiveLifecyclePolicyErrorDetail& value) { m_effectiveLifecyclePolicyErrorDetails.push_back(value); return *this; }
62 inline BatchGetEffectiveLifecyclePolicyResult& AddEffectiveLifecyclePolicyErrorDetails(EffectiveLifecyclePolicyErrorDetail&& value) { m_effectiveLifecyclePolicyErrorDetails.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); }
72 inline BatchGetEffectiveLifecyclePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchGetEffectiveLifecyclePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<EffectiveLifecyclePolicyDetail> m_effectiveLifecyclePolicyDetails;
78
79 Aws::Vector<EffectiveLifecyclePolicyErrorDetail> m_effectiveLifecyclePolicyErrorDetails;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace OpenSearchServerless
86} // namespace Aws
BatchGetEffectiveLifecyclePolicyResult & WithEffectiveLifecyclePolicyDetails(Aws::Vector< EffectiveLifecyclePolicyDetail > &&value)
BatchGetEffectiveLifecyclePolicyResult & AddEffectiveLifecyclePolicyErrorDetails(const EffectiveLifecyclePolicyErrorDetail &value)
void SetEffectiveLifecyclePolicyErrorDetails(Aws::Vector< EffectiveLifecyclePolicyErrorDetail > &&value)
void SetEffectiveLifecyclePolicyDetails(Aws::Vector< EffectiveLifecyclePolicyDetail > &&value)
const Aws::Vector< EffectiveLifecyclePolicyErrorDetail > & GetEffectiveLifecyclePolicyErrorDetails() const
BatchGetEffectiveLifecyclePolicyResult & WithRequestId(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API BatchGetEffectiveLifecyclePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetEffectiveLifecyclePolicyResult & AddEffectiveLifecyclePolicyErrorDetails(EffectiveLifecyclePolicyErrorDetail &&value)
BatchGetEffectiveLifecyclePolicyResult & AddEffectiveLifecyclePolicyDetails(const EffectiveLifecyclePolicyDetail &value)
BatchGetEffectiveLifecyclePolicyResult & AddEffectiveLifecyclePolicyDetails(EffectiveLifecyclePolicyDetail &&value)
const Aws::Vector< EffectiveLifecyclePolicyDetail > & GetEffectiveLifecyclePolicyDetails() const
AWS_OPENSEARCHSERVERLESS_API BatchGetEffectiveLifecyclePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetEffectiveLifecyclePolicyResult & WithEffectiveLifecyclePolicyErrorDetails(const Aws::Vector< EffectiveLifecyclePolicyErrorDetail > &value)
void SetEffectiveLifecyclePolicyErrorDetails(const Aws::Vector< EffectiveLifecyclePolicyErrorDetail > &value)
BatchGetEffectiveLifecyclePolicyResult & WithEffectiveLifecyclePolicyDetails(const Aws::Vector< EffectiveLifecyclePolicyDetail > &value)
BatchGetEffectiveLifecyclePolicyResult & WithEffectiveLifecyclePolicyErrorDetails(Aws::Vector< EffectiveLifecyclePolicyErrorDetail > &&value)
void SetEffectiveLifecyclePolicyDetails(const Aws::Vector< EffectiveLifecyclePolicyDetail > &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