AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CapabilitySummary.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/CapabilityType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace B2BI {
22namespace Model {
23
32 public:
33 AWS_B2BI_API CapabilitySummary() = default;
37
39
42 inline const Aws::String& GetCapabilityId() const { return m_capabilityId; }
43 inline bool CapabilityIdHasBeenSet() const { return m_capabilityIdHasBeenSet; }
44 template <typename CapabilityIdT = Aws::String>
45 void SetCapabilityId(CapabilityIdT&& value) {
46 m_capabilityIdHasBeenSet = true;
47 m_capabilityId = std::forward<CapabilityIdT>(value);
48 }
49 template <typename CapabilityIdT = Aws::String>
50 CapabilitySummary& WithCapabilityId(CapabilityIdT&& value) {
51 SetCapabilityId(std::forward<CapabilityIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 CapabilitySummary& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
79 inline CapabilityType GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(CapabilityType value) {
82 m_typeHasBeenSet = true;
83 m_type = value;
84 }
86 SetType(value);
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) {
99 m_createdAtHasBeenSet = true;
100 m_createdAt = std::forward<CreatedAtT>(value);
101 }
102 template <typename CreatedAtT = Aws::Utils::DateTime>
103 CapabilitySummary& WithCreatedAt(CreatedAtT&& value) {
104 SetCreatedAt(std::forward<CreatedAtT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
115 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
116 template <typename ModifiedAtT = Aws::Utils::DateTime>
117 void SetModifiedAt(ModifiedAtT&& value) {
118 m_modifiedAtHasBeenSet = true;
119 m_modifiedAt = std::forward<ModifiedAtT>(value);
120 }
121 template <typename ModifiedAtT = Aws::Utils::DateTime>
122 CapabilitySummary& WithModifiedAt(ModifiedAtT&& value) {
123 SetModifiedAt(std::forward<ModifiedAtT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_capabilityId;
129
130 Aws::String m_name;
131
133
134 Aws::Utils::DateTime m_createdAt{};
135
136 Aws::Utils::DateTime m_modifiedAt{};
137 bool m_capabilityIdHasBeenSet = false;
138 bool m_nameHasBeenSet = false;
139 bool m_typeHasBeenSet = false;
140 bool m_createdAtHasBeenSet = false;
141 bool m_modifiedAtHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace B2BI
146} // namespace Aws
AWS_B2BI_API CapabilitySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API CapabilitySummary()=default
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCapabilityId() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetType(CapabilityType value)
const Aws::String & GetName() const
CapabilitySummary & WithModifiedAt(ModifiedAtT &&value)
void SetModifiedAt(ModifiedAtT &&value)
CapabilitySummary & WithName(NameT &&value)
CapabilitySummary & WithCapabilityId(CapabilityIdT &&value)
void SetCapabilityId(CapabilityIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
CapabilitySummary & WithCreatedAt(CreatedAtT &&value)
AWS_B2BI_API CapabilitySummary(Aws::Utils::Json::JsonView jsonValue)
CapabilitySummary & WithType(CapabilityType value)
const Aws::Utils::DateTime & GetModifiedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue