AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetSolVnfInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/tnb/Tnb_EXPORTS.h>
9#include <aws/tnb/model/GetSolVnfcResourceInfo.h>
10#include <aws/tnb/model/VnfOperationalState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace tnb {
22namespace Model {
23
31 public:
32 AWS_TNB_API GetSolVnfInfo() = default;
36
38
41 inline VnfOperationalState GetVnfState() const { return m_vnfState; }
42 inline bool VnfStateHasBeenSet() const { return m_vnfStateHasBeenSet; }
43 inline void SetVnfState(VnfOperationalState value) {
44 m_vnfStateHasBeenSet = true;
45 m_vnfState = value;
46 }
48 SetVnfState(value);
49 return *this;
50 }
52
54
57 inline const Aws::Vector<GetSolVnfcResourceInfo>& GetVnfcResourceInfo() const { return m_vnfcResourceInfo; }
58 inline bool VnfcResourceInfoHasBeenSet() const { return m_vnfcResourceInfoHasBeenSet; }
59 template <typename VnfcResourceInfoT = Aws::Vector<GetSolVnfcResourceInfo>>
60 void SetVnfcResourceInfo(VnfcResourceInfoT&& value) {
61 m_vnfcResourceInfoHasBeenSet = true;
62 m_vnfcResourceInfo = std::forward<VnfcResourceInfoT>(value);
63 }
64 template <typename VnfcResourceInfoT = Aws::Vector<GetSolVnfcResourceInfo>>
65 GetSolVnfInfo& WithVnfcResourceInfo(VnfcResourceInfoT&& value) {
66 SetVnfcResourceInfo(std::forward<VnfcResourceInfoT>(value));
67 return *this;
68 }
69 template <typename VnfcResourceInfoT = GetSolVnfcResourceInfo>
70 GetSolVnfInfo& AddVnfcResourceInfo(VnfcResourceInfoT&& value) {
71 m_vnfcResourceInfoHasBeenSet = true;
72 m_vnfcResourceInfo.emplace_back(std::forward<VnfcResourceInfoT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::Vector<GetSolVnfcResourceInfo> m_vnfcResourceInfo;
80 bool m_vnfStateHasBeenSet = false;
81 bool m_vnfcResourceInfoHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace tnb
86} // namespace Aws
GetSolVnfInfo & WithVnfState(VnfOperationalState value)
VnfOperationalState GetVnfState() const
GetSolVnfInfo & AddVnfcResourceInfo(VnfcResourceInfoT &&value)
void SetVnfState(VnfOperationalState value)
const Aws::Vector< GetSolVnfcResourceInfo > & GetVnfcResourceInfo() const
void SetVnfcResourceInfo(VnfcResourceInfoT &&value)
GetSolVnfInfo & WithVnfcResourceInfo(VnfcResourceInfoT &&value)
AWS_TNB_API GetSolVnfInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TNB_API GetSolVnfInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TNB_API GetSolVnfInfo()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue