AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline CommonControlSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline CommonControlSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline CommonControlSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline CommonControlSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline CommonControlSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline CommonControlSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline CommonControlSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline CommonControlSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline CommonControlSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const AssociatedDomainSummary& GetDomain() const{ return m_domain; }
90 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
91 inline void SetDomain(const AssociatedDomainSummary& value) { m_domainHasBeenSet = true; m_domain = value; }
92 inline void SetDomain(AssociatedDomainSummary&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
93 inline CommonControlSummary& WithDomain(const AssociatedDomainSummary& value) { SetDomain(value); return *this;}
94 inline CommonControlSummary& WithDomain(AssociatedDomainSummary&& value) { SetDomain(std::move(value)); return *this;}
96
98
101 inline const AssociatedObjectiveSummary& GetObjective() const{ return m_objective; }
102 inline bool ObjectiveHasBeenSet() const { return m_objectiveHasBeenSet; }
103 inline void SetObjective(const AssociatedObjectiveSummary& value) { m_objectiveHasBeenSet = true; m_objective = value; }
104 inline void SetObjective(AssociatedObjectiveSummary&& value) { m_objectiveHasBeenSet = true; m_objective = std::move(value); }
105 inline CommonControlSummary& WithObjective(const AssociatedObjectiveSummary& value) { SetObjective(value); return *this;}
106 inline CommonControlSummary& WithObjective(AssociatedObjectiveSummary&& value) { SetObjective(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
114 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
115 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
116 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
117 inline CommonControlSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
118 inline CommonControlSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
126 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
127 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
128 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
130 inline CommonControlSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
144 bool m_domainHasBeenSet = false;
145
146 AssociatedObjectiveSummary m_objective;
147 bool m_objectiveHasBeenSet = false;
148
149 Aws::Utils::DateTime m_createTime;
150 bool m_createTimeHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastUpdateTime;
153 bool m_lastUpdateTimeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace ControlCatalog
158} // namespace Aws
void SetObjective(const AssociatedObjectiveSummary &value)
AWS_CONTROLCATALOG_API CommonControlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTime() const
CommonControlSummary & WithArn(const char *value)
void SetDomain(const AssociatedDomainSummary &value)
CommonControlSummary & WithCreateTime(const Aws::Utils::DateTime &value)
CommonControlSummary & WithDescription(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
CommonControlSummary & WithObjective(AssociatedObjectiveSummary &&value)
void SetObjective(AssociatedObjectiveSummary &&value)
CommonControlSummary & WithName(Aws::String &&value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
CommonControlSummary & WithDomain(AssociatedDomainSummary &&value)
CommonControlSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
CommonControlSummary & WithDescription(Aws::String &&value)
CommonControlSummary & WithDescription(const Aws::String &value)
CommonControlSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
CommonControlSummary & WithName(const char *value)
CommonControlSummary & WithArn(const Aws::String &value)
const AssociatedObjectiveSummary & GetObjective() const
const AssociatedDomainSummary & GetDomain() const
void SetDomain(AssociatedDomainSummary &&value)
AWS_CONTROLCATALOG_API CommonControlSummary(Aws::Utils::Json::JsonView jsonValue)
CommonControlSummary & WithObjective(const AssociatedObjectiveSummary &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
CommonControlSummary & WithDomain(const AssociatedDomainSummary &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
CommonControlSummary & WithName(const Aws::String &value)
CommonControlSummary & WithArn(Aws::String &&value)
CommonControlSummary & WithCreateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue