AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const VnfOperationalState& GetVnfState() const{ return m_vnfState; }
48 inline bool VnfStateHasBeenSet() const { return m_vnfStateHasBeenSet; }
49 inline void SetVnfState(const VnfOperationalState& value) { m_vnfStateHasBeenSet = true; m_vnfState = value; }
50 inline void SetVnfState(VnfOperationalState&& value) { m_vnfStateHasBeenSet = true; m_vnfState = std::move(value); }
51 inline GetSolVnfInfo& WithVnfState(const VnfOperationalState& value) { SetVnfState(value); return *this;}
52 inline GetSolVnfInfo& WithVnfState(VnfOperationalState&& value) { SetVnfState(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<GetSolVnfcResourceInfo>& GetVnfcResourceInfo() const{ return m_vnfcResourceInfo; }
60 inline bool VnfcResourceInfoHasBeenSet() const { return m_vnfcResourceInfoHasBeenSet; }
61 inline void SetVnfcResourceInfo(const Aws::Vector<GetSolVnfcResourceInfo>& value) { m_vnfcResourceInfoHasBeenSet = true; m_vnfcResourceInfo = value; }
62 inline void SetVnfcResourceInfo(Aws::Vector<GetSolVnfcResourceInfo>&& value) { m_vnfcResourceInfoHasBeenSet = true; m_vnfcResourceInfo = std::move(value); }
65 inline GetSolVnfInfo& AddVnfcResourceInfo(const GetSolVnfcResourceInfo& value) { m_vnfcResourceInfoHasBeenSet = true; m_vnfcResourceInfo.push_back(value); return *this; }
66 inline GetSolVnfInfo& AddVnfcResourceInfo(GetSolVnfcResourceInfo&& value) { m_vnfcResourceInfoHasBeenSet = true; m_vnfcResourceInfo.push_back(std::move(value)); return *this; }
68 private:
69
70 VnfOperationalState m_vnfState;
71 bool m_vnfStateHasBeenSet = false;
72
73 Aws::Vector<GetSolVnfcResourceInfo> m_vnfcResourceInfo;
74 bool m_vnfcResourceInfoHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace tnb
79} // namespace Aws
GetSolVnfInfo & WithVnfState(VnfOperationalState &&value)
GetSolVnfInfo & WithVnfcResourceInfo(Aws::Vector< GetSolVnfcResourceInfo > &&value)
void SetVnfState(VnfOperationalState &&value)
GetSolVnfInfo & AddVnfcResourceInfo(const GetSolVnfcResourceInfo &value)
const Aws::Vector< GetSolVnfcResourceInfo > & GetVnfcResourceInfo() const
GetSolVnfInfo & AddVnfcResourceInfo(GetSolVnfcResourceInfo &&value)
GetSolVnfInfo & WithVnfState(const VnfOperationalState &value)
void SetVnfcResourceInfo(const Aws::Vector< GetSolVnfcResourceInfo > &value)
void SetVnfState(const VnfOperationalState &value)
AWS_TNB_API GetSolVnfInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TNB_API GetSolVnfInfo(Aws::Utils::Json::JsonView jsonValue)
void SetVnfcResourceInfo(Aws::Vector< GetSolVnfcResourceInfo > &&value)
const VnfOperationalState & GetVnfState() const
AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const
GetSolVnfInfo & WithVnfcResourceInfo(const Aws::Vector< GetSolVnfcResourceInfo > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue