AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ObjectiveSummary.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/controlcatalog/model/AssociatedDomainSummary.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 ControlCatalog {
22namespace Model {
23
30 public:
31 AWS_CONTROLCATALOG_API ObjectiveSummary() = default;
32 AWS_CONTROLCATALOG_API ObjectiveSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONTROLCATALOG_API ObjectiveSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 ObjectiveSummary& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 ObjectiveSummary& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 ObjectiveSummary& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const AssociatedDomainSummary& GetDomain() const { return m_domain; }
95 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
96 template <typename DomainT = AssociatedDomainSummary>
97 void SetDomain(DomainT&& value) {
98 m_domainHasBeenSet = true;
99 m_domain = std::forward<DomainT>(value);
100 }
101 template <typename DomainT = AssociatedDomainSummary>
102 ObjectiveSummary& WithDomain(DomainT&& value) {
103 SetDomain(std::forward<DomainT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
113 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
114 template <typename CreateTimeT = Aws::Utils::DateTime>
115 void SetCreateTime(CreateTimeT&& value) {
116 m_createTimeHasBeenSet = true;
117 m_createTime = std::forward<CreateTimeT>(value);
118 }
119 template <typename CreateTimeT = Aws::Utils::DateTime>
120 ObjectiveSummary& WithCreateTime(CreateTimeT&& value) {
121 SetCreateTime(std::forward<CreateTimeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
131 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
132 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
133 void SetLastUpdateTime(LastUpdateTimeT&& value) {
134 m_lastUpdateTimeHasBeenSet = true;
135 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
136 }
137 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
138 ObjectiveSummary& WithLastUpdateTime(LastUpdateTimeT&& value) {
139 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_arn;
145
146 Aws::String m_name;
147
148 Aws::String m_description;
149
151
152 Aws::Utils::DateTime m_createTime{};
153
154 Aws::Utils::DateTime m_lastUpdateTime{};
155 bool m_arnHasBeenSet = false;
156 bool m_nameHasBeenSet = false;
157 bool m_descriptionHasBeenSet = false;
158 bool m_domainHasBeenSet = false;
159 bool m_createTimeHasBeenSet = false;
160 bool m_lastUpdateTimeHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace ControlCatalog
165} // namespace Aws
AWS_CONTROLCATALOG_API ObjectiveSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ObjectiveSummary & WithDomain(DomainT &&value)
ObjectiveSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ObjectiveSummary & WithDescription(DescriptionT &&value)
ObjectiveSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLCATALOG_API ObjectiveSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(LastUpdateTimeT &&value)
ObjectiveSummary & WithCreateTime(CreateTimeT &&value)
ObjectiveSummary & WithName(NameT &&value)
const AssociatedDomainSummary & GetDomain() const
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CONTROLCATALOG_API ObjectiveSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue