AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppRegistry
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPREGISTRY_API ApplicationSummary() = default;
37 AWS_APPREGISTRY_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ApplicationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 ApplicationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 ApplicationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template<typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
88 template<typename DescriptionT = Aws::String>
89 ApplicationSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
99 template<typename CreationTimeT = Aws::Utils::DateTime>
100 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
101 template<typename CreationTimeT = Aws::Utils::DateTime>
102 ApplicationSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
104
106
110 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
111 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
112 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
113 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
114 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
115 ApplicationSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
117 private:
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_arn;
123 bool m_arnHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::Utils::DateTime m_creationTime{};
132 bool m_creationTimeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastUpdateTime{};
135 bool m_lastUpdateTimeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace AppRegistry
140} // namespace Aws
AWS_APPREGISTRY_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithArn(ArnT &&value)
ApplicationSummary & WithCreationTime(CreationTimeT &&value)
ApplicationSummary & WithId(IdT &&value)
AWS_APPREGISTRY_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
ApplicationSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
ApplicationSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_APPREGISTRY_API ApplicationSummary()=default
ApplicationSummary & WithDescription(DescriptionT &&value)
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue