AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefResource.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchEvidently
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDWATCHEVIDENTLY_API RefResource();
36 AWS_CLOUDWATCHEVIDENTLY_API RefResource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHEVIDENTLY_API RefResource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline RefResource& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline RefResource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline RefResource& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetEndTime() const{ return m_endTime; }
60 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
61 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
62 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
63 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
64 inline RefResource& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
65 inline RefResource& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
66 inline RefResource& WithEndTime(const char* value) { SetEndTime(value); return *this;}
68
70
74 inline const Aws::String& GetLastUpdatedOn() const{ return m_lastUpdatedOn; }
75 inline bool LastUpdatedOnHasBeenSet() const { return m_lastUpdatedOnHasBeenSet; }
76 inline void SetLastUpdatedOn(const Aws::String& value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn = value; }
77 inline void SetLastUpdatedOn(Aws::String&& value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn = std::move(value); }
78 inline void SetLastUpdatedOn(const char* value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn.assign(value); }
79 inline RefResource& WithLastUpdatedOn(const Aws::String& value) { SetLastUpdatedOn(value); return *this;}
80 inline RefResource& WithLastUpdatedOn(Aws::String&& value) { SetLastUpdatedOn(std::move(value)); return *this;}
81 inline RefResource& WithLastUpdatedOn(const char* value) { SetLastUpdatedOn(value); return *this;}
83
85
88 inline const Aws::String& GetName() const{ return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
91 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
93 inline RefResource& WithName(const Aws::String& value) { SetName(value); return *this;}
94 inline RefResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
95 inline RefResource& WithName(const char* value) { SetName(value); return *this;}
97
99
102 inline const Aws::String& GetStartTime() const{ return m_startTime; }
103 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
104 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
105 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
106 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
107 inline RefResource& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
108 inline RefResource& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
109 inline RefResource& WithStartTime(const char* value) { SetStartTime(value); return *this;}
111
113
116 inline const Aws::String& GetStatus() const{ return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
119 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
120 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
121 inline RefResource& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
122 inline RefResource& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
123 inline RefResource& WithStatus(const char* value) { SetStatus(value); return *this;}
125
127
131 inline const Aws::String& GetType() const{ return m_type; }
132 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
133 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
134 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
135 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
136 inline RefResource& WithType(const Aws::String& value) { SetType(value); return *this;}
137 inline RefResource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
138 inline RefResource& WithType(const char* value) { SetType(value); return *this;}
140 private:
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_endTime;
146 bool m_endTimeHasBeenSet = false;
147
148 Aws::String m_lastUpdatedOn;
149 bool m_lastUpdatedOnHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_startTime;
155 bool m_startTimeHasBeenSet = false;
156
157 Aws::String m_status;
158 bool m_statusHasBeenSet = false;
159
160 Aws::String m_type;
161 bool m_typeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace CloudWatchEvidently
166} // namespace Aws
const Aws::String & GetName() const
Definition RefResource.h:88
void SetStatus(const Aws::String &value)
RefResource & WithStartTime(Aws::String &&value)
const Aws::String & GetStartTime() const
RefResource & WithArn(const Aws::String &value)
Definition RefResource.h:50
RefResource & WithLastUpdatedOn(const Aws::String &value)
Definition RefResource.h:79
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
RefResource & WithName(const char *value)
Definition RefResource.h:95
RefResource & WithName(const Aws::String &value)
Definition RefResource.h:93
RefResource & WithName(Aws::String &&value)
Definition RefResource.h:94
AWS_CLOUDWATCHEVIDENTLY_API RefResource(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API RefResource()
RefResource & WithEndTime(const char *value)
Definition RefResource.h:66
void SetStartTime(const Aws::String &value)
RefResource & WithLastUpdatedOn(const char *value)
Definition RefResource.h:81
void SetArn(const Aws::String &value)
Definition RefResource.h:47
void SetName(const Aws::String &value)
Definition RefResource.h:90
RefResource & WithStatus(const Aws::String &value)
RefResource & WithArn(Aws::String &&value)
Definition RefResource.h:51
void SetLastUpdatedOn(const Aws::String &value)
Definition RefResource.h:76
RefResource & WithStartTime(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API RefResource & operator=(Aws::Utils::Json::JsonView jsonValue)
RefResource & WithType(const Aws::String &value)
const Aws::String & GetLastUpdatedOn() const
Definition RefResource.h:74
RefResource & WithStatus(Aws::String &&value)
const Aws::String & GetStatus() const
RefResource & WithStatus(const char *value)
void SetType(const Aws::String &value)
RefResource & WithEndTime(const Aws::String &value)
Definition RefResource.h:64
RefResource & WithLastUpdatedOn(Aws::String &&value)
Definition RefResource.h:80
const Aws::String & GetEndTime() const
Definition RefResource.h:59
RefResource & WithType(const char *value)
RefResource & WithType(Aws::String &&value)
void SetLastUpdatedOn(Aws::String &&value)
Definition RefResource.h:77
RefResource & WithEndTime(Aws::String &&value)
Definition RefResource.h:65
RefResource & WithStartTime(const Aws::String &value)
RefResource & WithArn(const char *value)
Definition RefResource.h:52
void SetEndTime(const Aws::String &value)
Definition RefResource.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue