AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
License.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
28class License {
29 public:
30 AWS_EKS_API License() = default;
31 AWS_EKS_API License(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 License& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetToken() const { return m_token; }
59 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
60 template <typename TokenT = Aws::String>
61 void SetToken(TokenT&& value) {
62 m_tokenHasBeenSet = true;
63 m_token = std::forward<TokenT>(value);
64 }
65 template <typename TokenT = Aws::String>
66 License& WithToken(TokenT&& value) {
67 SetToken(std::forward<TokenT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_id;
73
74 Aws::String m_token;
75 bool m_idHasBeenSet = false;
76 bool m_tokenHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EKS
81} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
Definition License.h:40
void SetToken(TokenT &&value)
Definition License.h:61
AWS_EKS_API License(Aws::Utils::Json::JsonView jsonValue)
License & WithToken(TokenT &&value)
Definition License.h:66
License & WithId(IdT &&value)
Definition License.h:47
bool TokenHasBeenSet() const
Definition License.h:59
AWS_EKS_API License()=default
void SetId(IdT &&value)
Definition License.h:42
AWS_EKS_API License & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Definition License.h:39
const Aws::String & GetToken() const
Definition License.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue