AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ResourceDetail.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_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 ServiceCatalog
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SERVICECATALOG_API ResourceDetail() = default;
36 AWS_SERVICECATALOG_API ResourceDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVICECATALOG_API ResourceDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 ResourceDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetARN() const { return m_aRN; }
58 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
59 template<typename ARNT = Aws::String>
60 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
61 template<typename ARNT = Aws::String>
62 ResourceDetail& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 ResourceDetail& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 ResourceDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
94 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
95 template<typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
97 template<typename CreatedTimeT = Aws::Utils::DateTime>
98 ResourceDetail& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
100 private:
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::String m_aRN;
106 bool m_aRNHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdTime{};
115 bool m_createdTimeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ServiceCatalog
120} // namespace Aws
ResourceDetail & WithId(IdT &&value)
ResourceDetail & WithARN(ARNT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetCreatedTime(CreatedTimeT &&value)
ResourceDetail & WithDescription(DescriptionT &&value)
ResourceDetail & WithName(NameT &&value)
AWS_SERVICECATALOG_API ResourceDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICECATALOG_API ResourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API ResourceDetail()=default
ResourceDetail & WithCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue