AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename EndpointT = Aws::String>
53 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
54 template<typename EndpointT = Aws::String>
55 Container& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
63 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
66 template<typename CreationTimeT = Aws::Utils::DateTime>
67 Container& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
69
71
77 inline const Aws::String& GetARN() const { return m_aRN; }
78 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
79 template<typename ARNT = Aws::String>
80 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
81 template<typename ARNT = Aws::String>
82 Container& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
84
86
89 inline const Aws::String& GetName() const { return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 template<typename NameT = Aws::String>
92 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
93 template<typename NameT = Aws::String>
94 Container& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
96
98
105 inline ContainerStatus GetStatus() const { return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(ContainerStatus value) { m_statusHasBeenSet = true; m_status = value; }
108 inline Container& WithStatus(ContainerStatus value) { SetStatus(value); return *this;}
110
112
120 inline bool GetAccessLoggingEnabled() const { return m_accessLoggingEnabled; }
121 inline bool AccessLoggingEnabledHasBeenSet() const { return m_accessLoggingEnabledHasBeenSet; }
122 inline void SetAccessLoggingEnabled(bool value) { m_accessLoggingEnabledHasBeenSet = true; m_accessLoggingEnabled = value; }
123 inline Container& WithAccessLoggingEnabled(bool value) { SetAccessLoggingEnabled(value); return *this;}
125 private:
126
127 Aws::String m_endpoint;
128 bool m_endpointHasBeenSet = false;
129
130 Aws::Utils::DateTime m_creationTime{};
131 bool m_creationTimeHasBeenSet = false;
132
133 Aws::String m_aRN;
134 bool m_aRNHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
140 bool m_statusHasBeenSet = false;
141
142 bool m_accessLoggingEnabled{false};
143 bool m_accessLoggingEnabledHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace MediaStore
148} // namespace Aws
void SetAccessLoggingEnabled(bool value)
Definition Container.h:122
Container & WithStatus(ContainerStatus value)
Definition Container.h:108
const Aws::Utils::DateTime & GetCreationTime() const
Definition Container.h:62
Container & WithAccessLoggingEnabled(bool value)
Definition Container.h:123
void SetStatus(ContainerStatus value)
Definition Container.h:107
void SetEndpoint(EndpointT &&value)
Definition Container.h:53
const Aws::String & GetARN() const
Definition Container.h:77
const Aws::String & GetEndpoint() const
Definition Container.h:50
const Aws::String & GetName() const
Definition Container.h:89
Container & WithName(NameT &&value)
Definition Container.h:94
bool AccessLoggingEnabledHasBeenSet() const
Definition Container.h:121
AWS_MEDIASTORE_API Container()=default
void SetCreationTime(CreationTimeT &&value)
Definition Container.h:65
AWS_MEDIASTORE_API Container & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIASTORE_API Container(Aws::Utils::Json::JsonView jsonValue)
Container & WithARN(ARNT &&value)
Definition Container.h:82
ContainerStatus GetStatus() const
Definition Container.h:105
Container & WithEndpoint(EndpointT &&value)
Definition Container.h:55
Container & WithCreationTime(CreationTimeT &&value)
Definition Container.h:67
AWS_MEDIASTORE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
Definition Container.h:92
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue