AWS SDK for C++  1.9.102
AWS SDK for C++
ProvisionedCapacityDescription.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glacier
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetCapacityId() const{ return m_capacityId; }
44 
48  inline bool CapacityIdHasBeenSet() const { return m_capacityIdHasBeenSet; }
49 
53  inline void SetCapacityId(const Aws::String& value) { m_capacityIdHasBeenSet = true; m_capacityId = value; }
54 
58  inline void SetCapacityId(Aws::String&& value) { m_capacityIdHasBeenSet = true; m_capacityId = std::move(value); }
59 
63  inline void SetCapacityId(const char* value) { m_capacityIdHasBeenSet = true; m_capacityId.assign(value); }
64 
68  inline ProvisionedCapacityDescription& WithCapacityId(const Aws::String& value) { SetCapacityId(value); return *this;}
69 
73  inline ProvisionedCapacityDescription& WithCapacityId(Aws::String&& value) { SetCapacityId(std::move(value)); return *this;}
74 
78  inline ProvisionedCapacityDescription& WithCapacityId(const char* value) { SetCapacityId(value); return *this;}
79 
80 
85  inline const Aws::String& GetStartDate() const{ return m_startDate; }
86 
91  inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
92 
97  inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; }
98 
103  inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
104 
109  inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); }
110 
115  inline ProvisionedCapacityDescription& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
116 
121  inline ProvisionedCapacityDescription& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
122 
127  inline ProvisionedCapacityDescription& WithStartDate(const char* value) { SetStartDate(value); return *this;}
128 
129 
134  inline const Aws::String& GetExpirationDate() const{ return m_expirationDate; }
135 
140  inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
141 
146  inline void SetExpirationDate(const Aws::String& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
147 
152  inline void SetExpirationDate(Aws::String&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
153 
158  inline void SetExpirationDate(const char* value) { m_expirationDateHasBeenSet = true; m_expirationDate.assign(value); }
159 
164  inline ProvisionedCapacityDescription& WithExpirationDate(const Aws::String& value) { SetExpirationDate(value); return *this;}
165 
170  inline ProvisionedCapacityDescription& WithExpirationDate(Aws::String&& value) { SetExpirationDate(std::move(value)); return *this;}
171 
176  inline ProvisionedCapacityDescription& WithExpirationDate(const char* value) { SetExpirationDate(value); return *this;}
177 
178  private:
179 
180  Aws::String m_capacityId;
181  bool m_capacityIdHasBeenSet;
182 
183  Aws::String m_startDate;
184  bool m_startDateHasBeenSet;
185 
186  Aws::String m_expirationDate;
187  bool m_expirationDateHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace Glacier
192 } // namespace Aws
Aws::Glacier::Model::ProvisionedCapacityDescription::SetCapacityId
void SetCapacityId(const Aws::String &value)
Definition: ProvisionedCapacityDescription.h:53
Aws::Glacier::Model::ProvisionedCapacityDescription::WithStartDate
ProvisionedCapacityDescription & WithStartDate(const Aws::String &value)
Definition: ProvisionedCapacityDescription.h:115
Aws::Glacier::Model::ProvisionedCapacityDescription::CapacityIdHasBeenSet
bool CapacityIdHasBeenSet() const
Definition: ProvisionedCapacityDescription.h:48
Aws::Glacier::Model::ProvisionedCapacityDescription::GetExpirationDate
const Aws::String & GetExpirationDate() const
Definition: ProvisionedCapacityDescription.h:134
Aws::Glacier::Model::ProvisionedCapacityDescription::WithStartDate
ProvisionedCapacityDescription & WithStartDate(Aws::String &&value)
Definition: ProvisionedCapacityDescription.h:121
Aws::Glacier::Model::ProvisionedCapacityDescription::GetStartDate
const Aws::String & GetStartDate() const
Definition: ProvisionedCapacityDescription.h:85
Aws::Glacier::Model::ProvisionedCapacityDescription::StartDateHasBeenSet
bool StartDateHasBeenSet() const
Definition: ProvisionedCapacityDescription.h:91
Aws::Glacier::Model::ProvisionedCapacityDescription::WithCapacityId
ProvisionedCapacityDescription & WithCapacityId(Aws::String &&value)
Definition: ProvisionedCapacityDescription.h:73
Aws::Glacier::Model::ProvisionedCapacityDescription::SetCapacityId
void SetCapacityId(Aws::String &&value)
Definition: ProvisionedCapacityDescription.h:58
Aws::Glacier::Model::ProvisionedCapacityDescription::SetExpirationDate
void SetExpirationDate(const char *value)
Definition: ProvisionedCapacityDescription.h:158
Aws::Glacier::Model::ProvisionedCapacityDescription
Definition: ProvisionedCapacityDescription.h:32
Aws::Glacier::Model::ProvisionedCapacityDescription::ProvisionedCapacityDescription
ProvisionedCapacityDescription()
Aws::Glacier::Model::ProvisionedCapacityDescription::WithCapacityId
ProvisionedCapacityDescription & WithCapacityId(const char *value)
Definition: ProvisionedCapacityDescription.h:78
Aws::Glacier::Model::ProvisionedCapacityDescription::SetStartDate
void SetStartDate(const char *value)
Definition: ProvisionedCapacityDescription.h:109
Aws::Glacier::Model::ProvisionedCapacityDescription::SetStartDate
void SetStartDate(const Aws::String &value)
Definition: ProvisionedCapacityDescription.h:97
Aws::Glacier::Model::ProvisionedCapacityDescription::WithExpirationDate
ProvisionedCapacityDescription & WithExpirationDate(const Aws::String &value)
Definition: ProvisionedCapacityDescription.h:164
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ProvisionedCapacityDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glacier::Model::ProvisionedCapacityDescription::SetCapacityId
void SetCapacityId(const char *value)
Definition: ProvisionedCapacityDescription.h:63
Aws::Glacier::Model::ProvisionedCapacityDescription::WithCapacityId
ProvisionedCapacityDescription & WithCapacityId(const Aws::String &value)
Definition: ProvisionedCapacityDescription.h:68
Aws::Glacier::Model::ProvisionedCapacityDescription::operator=
ProvisionedCapacityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::ProvisionedCapacityDescription::WithStartDate
ProvisionedCapacityDescription & WithStartDate(const char *value)
Definition: ProvisionedCapacityDescription.h:127
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::ProvisionedCapacityDescription::SetExpirationDate
void SetExpirationDate(Aws::String &&value)
Definition: ProvisionedCapacityDescription.h:152
Aws::Glacier::Model::ProvisionedCapacityDescription::WithExpirationDate
ProvisionedCapacityDescription & WithExpirationDate(const char *value)
Definition: ProvisionedCapacityDescription.h:176
Aws::Glacier::Model::ProvisionedCapacityDescription::ProvisionedCapacityDescription
ProvisionedCapacityDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::ProvisionedCapacityDescription::GetCapacityId
const Aws::String & GetCapacityId() const
Definition: ProvisionedCapacityDescription.h:43
Aws::Glacier::Model::ProvisionedCapacityDescription::SetStartDate
void SetStartDate(Aws::String &&value)
Definition: ProvisionedCapacityDescription.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ProvisionedCapacityDescription::SetExpirationDate
void SetExpirationDate(const Aws::String &value)
Definition: ProvisionedCapacityDescription.h:146
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ProvisionedCapacityDescription::ExpirationDateHasBeenSet
bool ExpirationDateHasBeenSet() const
Definition: ProvisionedCapacityDescription.h:140
Aws::Glacier::Model::ProvisionedCapacityDescription::WithExpirationDate
ProvisionedCapacityDescription & WithExpirationDate(Aws::String &&value)
Definition: ProvisionedCapacityDescription.h:170
Glacier_EXPORTS.h