AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectiveSummary.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/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 ControlCatalog
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONTROLCATALOG_API ObjectiveSummary();
37 AWS_CONTROLCATALOG_API ObjectiveSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONTROLCATALOG_API ObjectiveSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ObjectiveSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ObjectiveSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ObjectiveSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline ObjectiveSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline ObjectiveSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline ObjectiveSummary& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ObjectiveSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ObjectiveSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ObjectiveSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const AssociatedDomainSummary& GetDomain() const{ return m_domain; }
89 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
90 inline void SetDomain(const AssociatedDomainSummary& value) { m_domainHasBeenSet = true; m_domain = value; }
91 inline void SetDomain(AssociatedDomainSummary&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
92 inline ObjectiveSummary& WithDomain(const AssociatedDomainSummary& value) { SetDomain(value); return *this;}
93 inline ObjectiveSummary& WithDomain(AssociatedDomainSummary&& value) { SetDomain(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
101 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
102 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
103 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
104 inline ObjectiveSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
105 inline ObjectiveSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
113 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
114 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
115 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
116 inline ObjectiveSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
117 inline ObjectiveSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
131 bool m_domainHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createTime;
134 bool m_createTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdateTime;
137 bool m_lastUpdateTimeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ControlCatalog
142} // namespace Aws
ObjectiveSummary & WithDomain(AssociatedDomainSummary &&value)
ObjectiveSummary & WithDescription(const char *value)
AWS_CONTROLCATALOG_API ObjectiveSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ObjectiveSummary & WithName(Aws::String &&value)
ObjectiveSummary & WithCreateTime(const Aws::Utils::DateTime &value)
ObjectiveSummary & WithArn(const char *value)
ObjectiveSummary & WithName(const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ObjectiveSummary & WithName(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
ObjectiveSummary & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ObjectiveSummary & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetDomain(AssociatedDomainSummary &&value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateTime(Aws::Utils::DateTime &&value)
ObjectiveSummary & WithDescription(const Aws::String &value)
ObjectiveSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_CONTROLCATALOG_API ObjectiveSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDomain(const AssociatedDomainSummary &value)
ObjectiveSummary & WithDomain(const AssociatedDomainSummary &value)
ObjectiveSummary & WithArn(Aws::String &&value)
ObjectiveSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
const AssociatedDomainSummary & GetDomain() const
ObjectiveSummary & WithCreateTime(Aws::Utils::DateTime &&value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue