AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 RefResource& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEndTime() const { return m_endTime; }
58 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
59 template<typename EndTimeT = Aws::String>
60 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
61 template<typename EndTimeT = Aws::String>
62 RefResource& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
64
66
70 inline const Aws::String& GetLastUpdatedOn() const { return m_lastUpdatedOn; }
71 inline bool LastUpdatedOnHasBeenSet() const { return m_lastUpdatedOnHasBeenSet; }
72 template<typename LastUpdatedOnT = Aws::String>
73 void SetLastUpdatedOn(LastUpdatedOnT&& value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn = std::forward<LastUpdatedOnT>(value); }
74 template<typename LastUpdatedOnT = Aws::String>
75 RefResource& WithLastUpdatedOn(LastUpdatedOnT&& value) { SetLastUpdatedOn(std::forward<LastUpdatedOnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 RefResource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetStartTime() const { return m_startTime; }
95 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
96 template<typename StartTimeT = Aws::String>
97 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
98 template<typename StartTimeT = Aws::String>
99 RefResource& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
101
103
106 inline const Aws::String& GetStatus() const { return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 template<typename StatusT = Aws::String>
109 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
110 template<typename StatusT = Aws::String>
111 RefResource& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
113
115
119 inline const Aws::String& GetType() const { return m_type; }
120 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
121 template<typename TypeT = Aws::String>
122 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
123 template<typename TypeT = Aws::String>
124 RefResource& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
126 private:
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_endTime;
132 bool m_endTimeHasBeenSet = false;
133
134 Aws::String m_lastUpdatedOn;
135 bool m_lastUpdatedOnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_startTime;
141 bool m_startTimeHasBeenSet = false;
142
143 Aws::String m_status;
144 bool m_statusHasBeenSet = false;
145
146 Aws::String m_type;
147 bool m_typeHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CloudWatchEvidently
152} // namespace Aws
const Aws::String & GetName() const
Definition RefResource.h:82
RefResource & WithLastUpdatedOn(LastUpdatedOnT &&value)
Definition RefResource.h:75
const Aws::String & GetStartTime() const
Definition RefResource.h:94
AWS_CLOUDWATCHEVIDENTLY_API RefResource()=default
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
RefResource & WithStartTime(StartTimeT &&value)
Definition RefResource.h:99
AWS_CLOUDWATCHEVIDENTLY_API RefResource(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedOn(LastUpdatedOnT &&value)
Definition RefResource.h:73
RefResource & WithStatus(StatusT &&value)
RefResource & WithArn(ArnT &&value)
Definition RefResource.h:50
AWS_CLOUDWATCHEVIDENTLY_API RefResource & operator=(Aws::Utils::Json::JsonView jsonValue)
RefResource & WithEndTime(EndTimeT &&value)
Definition RefResource.h:62
const Aws::String & GetLastUpdatedOn() const
Definition RefResource.h:70
const Aws::String & GetStatus() const
const Aws::String & GetEndTime() const
Definition RefResource.h:57
RefResource & WithName(NameT &&value)
Definition RefResource.h:87
RefResource & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue