AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Container.h
1
6#pragma once
7#include <aws/mediastore/MediaStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mediastore/model/ContainerStatus.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 MediaStore
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MEDIASTORE_API Container();
38 AWS_MEDIASTORE_API Container(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIASTORE_API Container& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIASTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
51 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
52 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
53 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
54 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
55 inline Container& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
56 inline Container& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
57 inline Container& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
65 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
66 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
67 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
68 inline Container& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
69 inline Container& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
71
73
79 inline const Aws::String& GetARN() const{ return m_aRN; }
80 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
81 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
82 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
83 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
84 inline Container& WithARN(const Aws::String& value) { SetARN(value); return *this;}
85 inline Container& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
86 inline Container& WithARN(const char* value) { SetARN(value); return *this;}
88
90
93 inline const Aws::String& GetName() const{ return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
98 inline Container& WithName(const Aws::String& value) { SetName(value); return *this;}
99 inline Container& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
100 inline Container& WithName(const char* value) { SetName(value); return *this;}
102
104
111 inline const ContainerStatus& GetStatus() const{ return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 inline void SetStatus(const ContainerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
114 inline void SetStatus(ContainerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
115 inline Container& WithStatus(const ContainerStatus& value) { SetStatus(value); return *this;}
116 inline Container& WithStatus(ContainerStatus&& value) { SetStatus(std::move(value)); return *this;}
118
120
128 inline bool GetAccessLoggingEnabled() const{ return m_accessLoggingEnabled; }
129 inline bool AccessLoggingEnabledHasBeenSet() const { return m_accessLoggingEnabledHasBeenSet; }
130 inline void SetAccessLoggingEnabled(bool value) { m_accessLoggingEnabledHasBeenSet = true; m_accessLoggingEnabled = value; }
131 inline Container& WithAccessLoggingEnabled(bool value) { SetAccessLoggingEnabled(value); return *this;}
133 private:
134
135 Aws::String m_endpoint;
136 bool m_endpointHasBeenSet = false;
137
138 Aws::Utils::DateTime m_creationTime;
139 bool m_creationTimeHasBeenSet = false;
140
141 Aws::String m_aRN;
142 bool m_aRNHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 ContainerStatus m_status;
148 bool m_statusHasBeenSet = false;
149
150 bool m_accessLoggingEnabled;
151 bool m_accessLoggingEnabledHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace MediaStore
156} // namespace Aws
void SetAccessLoggingEnabled(bool value)
Definition Container.h:130
Container & WithARN(const char *value)
Definition Container.h:86
const ContainerStatus & GetStatus() const
Definition Container.h:111
Container & WithARN(const Aws::String &value)
Definition Container.h:84
Container & WithStatus(ContainerStatus &&value)
Definition Container.h:116
const Aws::Utils::DateTime & GetCreationTime() const
Definition Container.h:64
Container & WithAccessLoggingEnabled(bool value)
Definition Container.h:131
Container & WithStatus(const ContainerStatus &value)
Definition Container.h:115
Container & WithName(const char *value)
Definition Container.h:100
void SetEndpoint(const char *value)
Definition Container.h:54
Container & WithEndpoint(const Aws::String &value)
Definition Container.h:55
void SetARN(const Aws::String &value)
Definition Container.h:81
const Aws::String & GetARN() const
Definition Container.h:79
Container & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Container.h:68
void SetStatus(ContainerStatus &&value)
Definition Container.h:114
void SetEndpoint(const Aws::String &value)
Definition Container.h:52
void SetName(Aws::String &&value)
Definition Container.h:96
Container & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Container.h:69
const Aws::String & GetEndpoint() const
Definition Container.h:50
void SetARN(Aws::String &&value)
Definition Container.h:82
const Aws::String & GetName() const
Definition Container.h:93
bool AccessLoggingEnabledHasBeenSet() const
Definition Container.h:129
Container & WithARN(Aws::String &&value)
Definition Container.h:85
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Container.h:66
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Container.h:67
Container & WithName(Aws::String &&value)
Definition Container.h:99
AWS_MEDIASTORE_API Container & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndpoint(Aws::String &&value)
Definition Container.h:53
AWS_MEDIASTORE_API Container(Aws::Utils::Json::JsonView jsonValue)
Container & WithEndpoint(Aws::String &&value)
Definition Container.h:56
Container & WithName(const Aws::String &value)
Definition Container.h:98
AWS_MEDIASTORE_API Container()
Container & WithEndpoint(const char *value)
Definition Container.h:57
void SetName(const Aws::String &value)
Definition Container.h:95
void SetARN(const char *value)
Definition Container.h:83
void SetName(const char *value)
Definition Container.h:97
void SetStatus(const ContainerStatus &value)
Definition Container.h:113
AWS_MEDIASTORE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue