AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ObjectiveSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 ObjectiveSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 ObjectiveSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const AssociatedDomainSummary& GetDomain() const { return m_domain; }
83 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
84 template<typename DomainT = AssociatedDomainSummary>
85 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
86 template<typename DomainT = AssociatedDomainSummary>
87 ObjectiveSummary& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
95 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
96 template<typename CreateTimeT = Aws::Utils::DateTime>
97 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
98 template<typename CreateTimeT = Aws::Utils::DateTime>
99 ObjectiveSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
107 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
108 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
109 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
110 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
111 ObjectiveSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
113 private:
114
115 Aws::String m_arn;
116 bool m_arnHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
125 bool m_domainHasBeenSet = false;
126
127 Aws::Utils::DateTime m_createTime{};
128 bool m_createTimeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastUpdateTime{};
131 bool m_lastUpdateTimeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ControlCatalog
136} // 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