AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
LicenseInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/evs/EVS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EVS {
20namespace Model {
21
30 public:
31 AWS_EVS_API LicenseInfo() = default;
35
37
42 inline const Aws::String& GetSolutionKey() const { return m_solutionKey; }
43 inline bool SolutionKeyHasBeenSet() const { return m_solutionKeyHasBeenSet; }
44 template <typename SolutionKeyT = Aws::String>
45 void SetSolutionKey(SolutionKeyT&& value) {
46 m_solutionKeyHasBeenSet = true;
47 m_solutionKey = std::forward<SolutionKeyT>(value);
48 }
49 template <typename SolutionKeyT = Aws::String>
50 LicenseInfo& WithSolutionKey(SolutionKeyT&& value) {
51 SetSolutionKey(std::forward<SolutionKeyT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetVsanKey() const { return m_vsanKey; }
62 inline bool VsanKeyHasBeenSet() const { return m_vsanKeyHasBeenSet; }
63 template <typename VsanKeyT = Aws::String>
64 void SetVsanKey(VsanKeyT&& value) {
65 m_vsanKeyHasBeenSet = true;
66 m_vsanKey = std::forward<VsanKeyT>(value);
67 }
68 template <typename VsanKeyT = Aws::String>
69 LicenseInfo& WithVsanKey(VsanKeyT&& value) {
70 SetVsanKey(std::forward<VsanKeyT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_solutionKey;
76
77 Aws::String m_vsanKey;
78 bool m_solutionKeyHasBeenSet = false;
79 bool m_vsanKeyHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace EVS
84} // namespace Aws
LicenseInfo & WithSolutionKey(SolutionKeyT &&value)
Definition LicenseInfo.h:50
bool SolutionKeyHasBeenSet() const
Definition LicenseInfo.h:43
const Aws::String & GetSolutionKey() const
Definition LicenseInfo.h:42
void SetVsanKey(VsanKeyT &&value)
Definition LicenseInfo.h:64
AWS_EVS_API LicenseInfo()=default
AWS_EVS_API LicenseInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVS_API LicenseInfo(Aws::Utils::Json::JsonView jsonValue)
LicenseInfo & WithVsanKey(VsanKeyT &&value)
Definition LicenseInfo.h:69
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVsanKey() const
Definition LicenseInfo.h:61
void SetSolutionKey(SolutionKeyT &&value)
Definition LicenseInfo.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue