AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WebExperience.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/WebExperienceStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API WebExperience();
38 AWS_QBUSINESS_API WebExperience(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QBUSINESS_API WebExperience& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetWebExperienceId() const{ return m_webExperienceId; }
48 inline bool WebExperienceIdHasBeenSet() const { return m_webExperienceIdHasBeenSet; }
49 inline void SetWebExperienceId(const Aws::String& value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId = value; }
50 inline void SetWebExperienceId(Aws::String&& value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId = std::move(value); }
51 inline void SetWebExperienceId(const char* value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId.assign(value); }
52 inline WebExperience& WithWebExperienceId(const Aws::String& value) { SetWebExperienceId(value); return *this;}
53 inline WebExperience& WithWebExperienceId(Aws::String&& value) { SetWebExperienceId(std::move(value)); return *this;}
54 inline WebExperience& WithWebExperienceId(const char* value) { SetWebExperienceId(value); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
63 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
64 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
65 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
66 inline WebExperience& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
67 inline WebExperience& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
76 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
77 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
78 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
79 inline WebExperience& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
80 inline WebExperience& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetDefaultEndpoint() const{ return m_defaultEndpoint; }
89 inline bool DefaultEndpointHasBeenSet() const { return m_defaultEndpointHasBeenSet; }
90 inline void SetDefaultEndpoint(const Aws::String& value) { m_defaultEndpointHasBeenSet = true; m_defaultEndpoint = value; }
91 inline void SetDefaultEndpoint(Aws::String&& value) { m_defaultEndpointHasBeenSet = true; m_defaultEndpoint = std::move(value); }
92 inline void SetDefaultEndpoint(const char* value) { m_defaultEndpointHasBeenSet = true; m_defaultEndpoint.assign(value); }
93 inline WebExperience& WithDefaultEndpoint(const Aws::String& value) { SetDefaultEndpoint(value); return *this;}
94 inline WebExperience& WithDefaultEndpoint(Aws::String&& value) { SetDefaultEndpoint(std::move(value)); return *this;}
95 inline WebExperience& WithDefaultEndpoint(const char* value) { SetDefaultEndpoint(value); return *this;}
97
99
102 inline const WebExperienceStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const WebExperienceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(WebExperienceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline WebExperience& WithStatus(const WebExperienceStatus& value) { SetStatus(value); return *this;}
107 inline WebExperience& WithStatus(WebExperienceStatus&& value) { SetStatus(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_webExperienceId;
112 bool m_webExperienceIdHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdAt;
115 bool m_createdAtHasBeenSet = false;
116
117 Aws::Utils::DateTime m_updatedAt;
118 bool m_updatedAtHasBeenSet = false;
119
120 Aws::String m_defaultEndpoint;
121 bool m_defaultEndpointHasBeenSet = false;
122
123 WebExperienceStatus m_status;
124 bool m_statusHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QBusiness
129} // namespace Aws
WebExperience & WithWebExperienceId(const Aws::String &value)
void SetDefaultEndpoint(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(WebExperienceStatus &&value)
WebExperience & WithStatus(WebExperienceStatus &&value)
void SetStatus(const WebExperienceStatus &value)
void SetWebExperienceId(Aws::String &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
WebExperience & WithDefaultEndpoint(const char *value)
void SetWebExperienceId(const Aws::String &value)
WebExperience & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetWebExperienceId() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDefaultEndpoint() const
const Aws::Utils::DateTime & GetUpdatedAt() const
WebExperience & WithCreatedAt(const Aws::Utils::DateTime &value)
WebExperience & WithWebExperienceId(Aws::String &&value)
void SetDefaultEndpoint(Aws::String &&value)
WebExperience & WithWebExperienceId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
WebExperience & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const WebExperienceStatus & GetStatus() const
AWS_QBUSINESS_API WebExperience & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultEndpoint(const char *value)
WebExperience & WithStatus(const WebExperienceStatus &value)
void SetWebExperienceId(const char *value)
AWS_QBUSINESS_API WebExperience(Aws::Utils::Json::JsonView jsonValue)
WebExperience & WithUpdatedAt(Aws::Utils::DateTime &&value)
WebExperience & WithDefaultEndpoint(const Aws::String &value)
WebExperience & WithDefaultEndpoint(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue