AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetSolVnfInfo.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/model/VnfOperationalState.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/tnb/model/GetSolVnfcResourceInfo.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace tnb
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TNB_API GetSolVnfInfo() = default;
41
42
44
47 inline VnfOperationalState GetVnfState() const { return m_vnfState; }
48 inline bool VnfStateHasBeenSet() const { return m_vnfStateHasBeenSet; }
49 inline void SetVnfState(VnfOperationalState value) { m_vnfStateHasBeenSet = true; m_vnfState = value; }
50 inline GetSolVnfInfo& WithVnfState(VnfOperationalState value) { SetVnfState(value); return *this;}
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) { m_vnfcResourceInfoHasBeenSet = true; m_vnfcResourceInfo = std::forward<VnfcResourceInfoT>(value); }
61 template<typename VnfcResourceInfoT = Aws::Vector<GetSolVnfcResourceInfo>>
62 GetSolVnfInfo& WithVnfcResourceInfo(VnfcResourceInfoT&& value) { SetVnfcResourceInfo(std::forward<VnfcResourceInfoT>(value)); return *this;}
63 template<typename VnfcResourceInfoT = GetSolVnfcResourceInfo>
64 GetSolVnfInfo& AddVnfcResourceInfo(VnfcResourceInfoT&& value) { m_vnfcResourceInfoHasBeenSet = true; m_vnfcResourceInfo.emplace_back(std::forward<VnfcResourceInfoT>(value)); return *this; }
66 private:
67
69 bool m_vnfStateHasBeenSet = false;
70
71 Aws::Vector<GetSolVnfcResourceInfo> m_vnfcResourceInfo;
72 bool m_vnfcResourceInfoHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace tnb
77} // 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