AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline ResourceDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline ResourceDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline ResourceDetail& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetARN() const{ return m_aRN; }
60 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
61 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
62 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
63 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
64 inline ResourceDetail& WithARN(const Aws::String& value) { SetARN(value); return *this;}
65 inline ResourceDetail& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
66 inline ResourceDetail& WithARN(const char* value) { SetARN(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline ResourceDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline ResourceDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline ResourceDetail& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline ResourceDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline ResourceDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline ResourceDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
102 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
103 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
104 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
105 inline ResourceDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
106 inline ResourceDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_aRN;
114 bool m_aRNHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 Aws::Utils::DateTime m_createdTime;
123 bool m_createdTimeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ServiceCatalog
128} // namespace Aws
AWS_SERVICECATALOG_API ResourceDetail()
void SetCreatedTime(const Aws::Utils::DateTime &value)
ResourceDetail & WithName(Aws::String &&value)
ResourceDetail & WithName(const Aws::String &value)
void SetId(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
ResourceDetail & WithDescription(const Aws::String &value)
ResourceDetail & WithCreatedTime(const Aws::Utils::DateTime &value)
ResourceDetail & WithId(const char *value)
AWS_SERVICECATALOG_API ResourceDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDetail & WithARN(const char *value)
void SetDescription(const Aws::String &value)
ResourceDetail & WithARN(Aws::String &&value)
ResourceDetail & WithDescription(Aws::String &&value)
ResourceDetail & WithId(Aws::String &&value)
AWS_SERVICECATALOG_API ResourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetARN(const Aws::String &value)
ResourceDetail & WithName(const char *value)
ResourceDetail & WithId(const Aws::String &value)
ResourceDetail & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ResourceDetail & WithARN(const Aws::String &value)
ResourceDetail & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue