AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CapabilitySummary.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/b2bi/model/CapabilityType.h>
10#include <aws/core/utils/DateTime.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 B2BI
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_B2BI_API CapabilitySummary() = default;
42
43
45
48 inline const Aws::String& GetCapabilityId() const { return m_capabilityId; }
49 inline bool CapabilityIdHasBeenSet() const { return m_capabilityIdHasBeenSet; }
50 template<typename CapabilityIdT = Aws::String>
51 void SetCapabilityId(CapabilityIdT&& value) { m_capabilityIdHasBeenSet = true; m_capabilityId = std::forward<CapabilityIdT>(value); }
52 template<typename CapabilityIdT = Aws::String>
53 CapabilitySummary& WithCapabilityId(CapabilityIdT&& value) { SetCapabilityId(std::forward<CapabilityIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 CapabilitySummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
73 inline CapabilityType GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(CapabilityType value) { m_typeHasBeenSet = true; m_type = value; }
76 inline CapabilitySummary& WithType(CapabilityType value) { SetType(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
84 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<typename CreatedAtT = Aws::Utils::DateTime>
88 CapabilitySummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
97 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
98 template<typename ModifiedAtT = Aws::Utils::DateTime>
99 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
100 template<typename ModifiedAtT = Aws::Utils::DateTime>
101 CapabilitySummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
103 private:
104
105 Aws::String m_capabilityId;
106 bool m_capabilityIdHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
112 bool m_typeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdAt{};
115 bool m_createdAtHasBeenSet = false;
116
117 Aws::Utils::DateTime m_modifiedAt{};
118 bool m_modifiedAtHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace B2BI
123} // 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