AWS SDK for C++  1.9.154
AWS SDK for C++
ActivityTypeInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SWF
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const ActivityType& GetActivityType() const{ return m_activityType; }
47 
51  inline bool ActivityTypeHasBeenSet() const { return m_activityTypeHasBeenSet; }
52 
56  inline void SetActivityType(const ActivityType& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
57 
61  inline void SetActivityType(ActivityType&& value) { m_activityTypeHasBeenSet = true; m_activityType = std::move(value); }
62 
66  inline ActivityTypeInfo& WithActivityType(const ActivityType& value) { SetActivityType(value); return *this;}
67 
71  inline ActivityTypeInfo& WithActivityType(ActivityType&& value) { SetActivityType(std::move(value)); return *this;}
72 
73 
77  inline const RegistrationStatus& GetStatus() const{ return m_status; }
78 
82  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 
87  inline void SetStatus(const RegistrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
88 
92  inline void SetStatus(RegistrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 
97  inline ActivityTypeInfo& WithStatus(const RegistrationStatus& value) { SetStatus(value); return *this;}
98 
102  inline ActivityTypeInfo& WithStatus(RegistrationStatus&& value) { SetStatus(std::move(value)); return *this;}
103 
104 
109  inline const Aws::String& GetDescription() const{ return m_description; }
110 
115  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 
121  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
122 
127  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
128 
133  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
134 
139  inline ActivityTypeInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
140 
145  inline ActivityTypeInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
146 
151  inline ActivityTypeInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
152 
153 
158  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
159 
164  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
165 
170  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
171 
176  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
177 
182  inline ActivityTypeInfo& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
183 
188  inline ActivityTypeInfo& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
189 
190 
194  inline const Aws::Utils::DateTime& GetDeprecationDate() const{ return m_deprecationDate; }
195 
199  inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
200 
204  inline void SetDeprecationDate(const Aws::Utils::DateTime& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = value; }
205 
209  inline void SetDeprecationDate(Aws::Utils::DateTime&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::move(value); }
210 
214  inline ActivityTypeInfo& WithDeprecationDate(const Aws::Utils::DateTime& value) { SetDeprecationDate(value); return *this;}
215 
219  inline ActivityTypeInfo& WithDeprecationDate(Aws::Utils::DateTime&& value) { SetDeprecationDate(std::move(value)); return *this;}
220 
221  private:
222 
223  ActivityType m_activityType;
224  bool m_activityTypeHasBeenSet;
225 
226  RegistrationStatus m_status;
227  bool m_statusHasBeenSet;
228 
229  Aws::String m_description;
230  bool m_descriptionHasBeenSet;
231 
232  Aws::Utils::DateTime m_creationDate;
233  bool m_creationDateHasBeenSet;
234 
235  Aws::Utils::DateTime m_deprecationDate;
236  bool m_deprecationDateHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace SWF
241 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SWF::Model::ActivityTypeInfo
Definition: ActivityTypeInfo.h:35
Aws::SWF::Model::ActivityTypeInfo::DeprecationDateHasBeenSet
bool DeprecationDateHasBeenSet() const
Definition: ActivityTypeInfo.h:199
Aws::SWF::Model::ActivityTypeInfo::ActivityTypeInfo
ActivityTypeInfo()
Aws::SWF::Model::ActivityTypeInfo::SetStatus
void SetStatus(const RegistrationStatus &value)
Definition: ActivityTypeInfo.h:87
Aws::SWF::Model::ActivityTypeInfo::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ActivityTypeInfo.h:158
Aws::SWF::Model::ActivityTypeInfo::WithDescription
ActivityTypeInfo & WithDescription(const Aws::String &value)
Definition: ActivityTypeInfo.h:139
Aws::SWF::Model::ActivityTypeInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SWF::Model::ActivityTypeInfo::SetDescription
void SetDescription(const Aws::String &value)
Definition: ActivityTypeInfo.h:121
Aws::SWF::Model::ActivityTypeInfo::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ActivityTypeInfo.h:164
Aws::SWF::Model::ActivityTypeInfo::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ActivityTypeInfo.h:176
DateTime.h
Aws::SWF::Model::ActivityTypeInfo::GetDescription
const Aws::String & GetDescription() const
Definition: ActivityTypeInfo.h:109
Aws::SWF::Model::ActivityTypeInfo::WithDescription
ActivityTypeInfo & WithDescription(Aws::String &&value)
Definition: ActivityTypeInfo.h:145
Aws::SWF::Model::ActivityTypeInfo::GetStatus
const RegistrationStatus & GetStatus() const
Definition: ActivityTypeInfo.h:77
Aws::SWF::Model::ActivityTypeInfo::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ActivityTypeInfo.h:170
Aws::SWF::Model::ActivityTypeInfo::WithActivityType
ActivityTypeInfo & WithActivityType(ActivityType &&value)
Definition: ActivityTypeInfo.h:71
SWF_EXPORTS.h
Aws::SWF::Model::ActivityTypeInfo::ActivityTypeInfo
ActivityTypeInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::ActivityTypeInfo::SetActivityType
void SetActivityType(ActivityType &&value)
Definition: ActivityTypeInfo.h:61
Aws::SWF::Model::ActivityTypeInfo::WithDescription
ActivityTypeInfo & WithDescription(const char *value)
Definition: ActivityTypeInfo.h:151
Aws::SWF::Model::ActivityTypeInfo::WithStatus
ActivityTypeInfo & WithStatus(const RegistrationStatus &value)
Definition: ActivityTypeInfo.h:97
Aws::SWF::Model::RegistrationStatus
RegistrationStatus
Definition: RegistrationStatus.h:17
Aws::SWF::Model::ActivityTypeInfo::WithCreationDate
ActivityTypeInfo & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ActivityTypeInfo.h:182
Aws::SWF::Model::ActivityTypeInfo::SetDeprecationDate
void SetDeprecationDate(const Aws::Utils::DateTime &value)
Definition: ActivityTypeInfo.h:204
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SWF::Model::ActivityTypeInfo::SetDeprecationDate
void SetDeprecationDate(Aws::Utils::DateTime &&value)
Definition: ActivityTypeInfo.h:209
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
RegistrationStatus.h
Aws::SWF::Model::ActivityType
Definition: ActivityType.h:32
Aws::SWF::Model::ActivityTypeInfo::SetStatus
void SetStatus(RegistrationStatus &&value)
Definition: ActivityTypeInfo.h:92
Aws::SWF::Model::ActivityTypeInfo::SetDescription
void SetDescription(Aws::String &&value)
Definition: ActivityTypeInfo.h:127
Aws::SWF::Model::ActivityTypeInfo::WithStatus
ActivityTypeInfo & WithStatus(RegistrationStatus &&value)
Definition: ActivityTypeInfo.h:102
Aws::SWF::Model::ActivityTypeInfo::GetDeprecationDate
const Aws::Utils::DateTime & GetDeprecationDate() const
Definition: ActivityTypeInfo.h:194
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SWF::Model::ActivityTypeInfo::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ActivityTypeInfo.h:115
Aws::SWF::Model::ActivityTypeInfo::ActivityTypeHasBeenSet
bool ActivityTypeHasBeenSet() const
Definition: ActivityTypeInfo.h:51
Aws::SWF::Model::ActivityTypeInfo::WithDeprecationDate
ActivityTypeInfo & WithDeprecationDate(const Aws::Utils::DateTime &value)
Definition: ActivityTypeInfo.h:214
ActivityType.h
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::SWF::Model::ActivityTypeInfo::WithActivityType
ActivityTypeInfo & WithActivityType(const ActivityType &value)
Definition: ActivityTypeInfo.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::ActivityTypeInfo::operator=
ActivityTypeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::ActivityTypeInfo::WithCreationDate
ActivityTypeInfo & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ActivityTypeInfo.h:188
Aws::SWF::Model::ActivityTypeInfo::GetActivityType
const ActivityType & GetActivityType() const
Definition: ActivityTypeInfo.h:46
Aws::SWF::Model::ActivityTypeInfo::SetDescription
void SetDescription(const char *value)
Definition: ActivityTypeInfo.h:133
Aws::SWF::Model::ActivityTypeInfo::WithDeprecationDate
ActivityTypeInfo & WithDeprecationDate(Aws::Utils::DateTime &&value)
Definition: ActivityTypeInfo.h:219
Aws::SWF::Model::ActivityTypeInfo::SetActivityType
void SetActivityType(const ActivityType &value)
Definition: ActivityTypeInfo.h:56
Aws::SWF::Model::ActivityTypeInfo::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ActivityTypeInfo.h:82