AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CommonControlSummary.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/controlcatalog/model/AssociatedDomainSummary.h>
10#include <aws/controlcatalog/model/AssociatedObjectiveSummary.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ControlCatalog
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONTROLCATALOG_API CommonControlSummary() = default;
38 AWS_CONTROLCATALOG_API CommonControlSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONTROLCATALOG_API CommonControlSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 CommonControlSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 CommonControlSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 CommonControlSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const AssociatedDomainSummary& GetDomain() const { return m_domain; }
84 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
85 template<typename DomainT = AssociatedDomainSummary>
86 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
87 template<typename DomainT = AssociatedDomainSummary>
88 CommonControlSummary& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
90
92
95 inline const AssociatedObjectiveSummary& GetObjective() const { return m_objective; }
96 inline bool ObjectiveHasBeenSet() const { return m_objectiveHasBeenSet; }
97 template<typename ObjectiveT = AssociatedObjectiveSummary>
98 void SetObjective(ObjectiveT&& value) { m_objectiveHasBeenSet = true; m_objective = std::forward<ObjectiveT>(value); }
99 template<typename ObjectiveT = AssociatedObjectiveSummary>
100 CommonControlSummary& WithObjective(ObjectiveT&& value) { SetObjective(std::forward<ObjectiveT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
108 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
109 template<typename CreateTimeT = Aws::Utils::DateTime>
110 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
111 template<typename CreateTimeT = Aws::Utils::DateTime>
112 CommonControlSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
120 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
121 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
122 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
123 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
124 CommonControlSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
126 private:
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
138 bool m_domainHasBeenSet = false;
139
140 AssociatedObjectiveSummary m_objective;
141 bool m_objectiveHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createTime{};
144 bool m_createTimeHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastUpdateTime{};
147 bool m_lastUpdateTimeHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace ControlCatalog
152} // namespace Aws
AWS_CONTROLCATALOG_API CommonControlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CONTROLCATALOG_API CommonControlSummary()=default
CommonControlSummary & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
CommonControlSummary & WithArn(ArnT &&value)
CommonControlSummary & WithDomain(DomainT &&value)
CommonControlSummary & WithName(NameT &&value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
CommonControlSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
const AssociatedObjectiveSummary & GetObjective() const
const AssociatedDomainSummary & GetDomain() const
CommonControlSummary & WithObjective(ObjectiveT &&value)
AWS_CONTROLCATALOG_API CommonControlSummary(Aws::Utils::Json::JsonView jsonValue)
CommonControlSummary & WithCreateTime(CreateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue