AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
Certificate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/ActiveCertificateAuthority.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
30 public:
31 AWS_EKS_API Certificate() = default;
35
37
42 inline const Aws::String& GetData() const { return m_data; }
43 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
44 template <typename DataT = Aws::String>
45 void SetData(DataT&& value) {
46 m_dataHasBeenSet = true;
47 m_data = std::forward<DataT>(value);
48 }
49 template <typename DataT = Aws::String>
50 Certificate& WithData(DataT&& value) {
51 SetData(std::forward<DataT>(value));
52 return *this;
53 }
55
57
61 inline const ActiveCertificateAuthority& GetActive() const { return m_active; }
62 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
63 template <typename ActiveT = ActiveCertificateAuthority>
64 void SetActive(ActiveT&& value) {
65 m_activeHasBeenSet = true;
66 m_active = std::forward<ActiveT>(value);
67 }
68 template <typename ActiveT = ActiveCertificateAuthority>
69 Certificate& WithActive(ActiveT&& value) {
70 SetActive(std::forward<ActiveT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_data;
76
78 bool m_dataHasBeenSet = false;
79 bool m_activeHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace EKS
84} // namespace Aws
AWS_EKS_API Certificate(Aws::Utils::Json::JsonView jsonValue)
void SetActive(ActiveT &&value)
Definition Certificate.h:64
const ActiveCertificateAuthority & GetActive() const
Definition Certificate.h:61
AWS_EKS_API Certificate()=default
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetData() const
Definition Certificate.h:42
Certificate & WithData(DataT &&value)
Definition Certificate.h:50
AWS_EKS_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Certificate & WithActive(ActiveT &&value)
Definition Certificate.h:69
void SetData(DataT &&value)
Definition Certificate.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue