AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
GetVersionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/evs/EVS_EXPORTS.h>
10#include <aws/evs/model/InstanceTypeEsxVersionsInfo.h>
11#include <aws/evs/model/VcfVersionInfo.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EVS {
25namespace Model {
27 public:
28 AWS_EVS_API GetVersionsResult() = default;
31
33
37 inline const Aws::Vector<VcfVersionInfo>& GetVcfVersions() const { return m_vcfVersions; }
38 template <typename VcfVersionsT = Aws::Vector<VcfVersionInfo>>
39 void SetVcfVersions(VcfVersionsT&& value) {
40 m_vcfVersionsHasBeenSet = true;
41 m_vcfVersions = std::forward<VcfVersionsT>(value);
42 }
43 template <typename VcfVersionsT = Aws::Vector<VcfVersionInfo>>
44 GetVersionsResult& WithVcfVersions(VcfVersionsT&& value) {
45 SetVcfVersions(std::forward<VcfVersionsT>(value));
46 return *this;
47 }
48 template <typename VcfVersionsT = VcfVersionInfo>
49 GetVersionsResult& AddVcfVersions(VcfVersionsT&& value) {
50 m_vcfVersionsHasBeenSet = true;
51 m_vcfVersions.emplace_back(std::forward<VcfVersionsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<InstanceTypeEsxVersionsInfo>& GetInstanceTypeEsxVersions() const { return m_instanceTypeEsxVersions; }
61 template <typename InstanceTypeEsxVersionsT = Aws::Vector<InstanceTypeEsxVersionsInfo>>
62 void SetInstanceTypeEsxVersions(InstanceTypeEsxVersionsT&& value) {
63 m_instanceTypeEsxVersionsHasBeenSet = true;
64 m_instanceTypeEsxVersions = std::forward<InstanceTypeEsxVersionsT>(value);
65 }
66 template <typename InstanceTypeEsxVersionsT = Aws::Vector<InstanceTypeEsxVersionsInfo>>
67 GetVersionsResult& WithInstanceTypeEsxVersions(InstanceTypeEsxVersionsT&& value) {
68 SetInstanceTypeEsxVersions(std::forward<InstanceTypeEsxVersionsT>(value));
69 return *this;
70 }
71 template <typename InstanceTypeEsxVersionsT = InstanceTypeEsxVersionsInfo>
72 GetVersionsResult& AddInstanceTypeEsxVersions(InstanceTypeEsxVersionsT&& value) {
73 m_instanceTypeEsxVersionsHasBeenSet = true;
74 m_instanceTypeEsxVersions.emplace_back(std::forward<InstanceTypeEsxVersionsT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
88 GetVersionsResult& WithRequestId(RequestIdT&& value) {
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::Vector<VcfVersionInfo> m_vcfVersions;
95
96 Aws::Vector<InstanceTypeEsxVersionsInfo> m_instanceTypeEsxVersions;
97
98 Aws::String m_requestId;
99 bool m_vcfVersionsHasBeenSet = false;
100 bool m_instanceTypeEsxVersionsHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace EVS
106} // namespace Aws
const Aws::Vector< VcfVersionInfo > & GetVcfVersions() const
GetVersionsResult & WithVcfVersions(VcfVersionsT &&value)
void SetInstanceTypeEsxVersions(InstanceTypeEsxVersionsT &&value)
const Aws::Vector< InstanceTypeEsxVersionsInfo > & GetInstanceTypeEsxVersions() const
GetVersionsResult & AddVcfVersions(VcfVersionsT &&value)
const Aws::String & GetRequestId() const
AWS_EVS_API GetVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVersionsResult & WithInstanceTypeEsxVersions(InstanceTypeEsxVersionsT &&value)
AWS_EVS_API GetVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVcfVersions(VcfVersionsT &&value)
AWS_EVS_API GetVersionsResult()=default
GetVersionsResult & AddInstanceTypeEsxVersions(InstanceTypeEsxVersionsT &&value)
void SetRequestId(RequestIdT &&value)
GetVersionsResult & WithRequestId(RequestIdT &&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