AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedCapacityDescription.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glacier
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCapacityId() const{ return m_capacityId; }
45 inline bool CapacityIdHasBeenSet() const { return m_capacityIdHasBeenSet; }
46 inline void SetCapacityId(const Aws::String& value) { m_capacityIdHasBeenSet = true; m_capacityId = value; }
47 inline void SetCapacityId(Aws::String&& value) { m_capacityIdHasBeenSet = true; m_capacityId = std::move(value); }
48 inline void SetCapacityId(const char* value) { m_capacityIdHasBeenSet = true; m_capacityId.assign(value); }
49 inline ProvisionedCapacityDescription& WithCapacityId(const Aws::String& value) { SetCapacityId(value); return *this;}
50 inline ProvisionedCapacityDescription& WithCapacityId(Aws::String&& value) { SetCapacityId(std::move(value)); return *this;}
51 inline ProvisionedCapacityDescription& WithCapacityId(const char* value) { SetCapacityId(value); return *this;}
53
55
59 inline const Aws::String& GetStartDate() const{ return m_startDate; }
60 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
61 inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; }
62 inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
63 inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); }
64 inline ProvisionedCapacityDescription& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
65 inline ProvisionedCapacityDescription& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
66 inline ProvisionedCapacityDescription& WithStartDate(const char* value) { SetStartDate(value); return *this;}
68
70
74 inline const Aws::String& GetExpirationDate() const{ return m_expirationDate; }
75 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
76 inline void SetExpirationDate(const Aws::String& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
77 inline void SetExpirationDate(Aws::String&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
78 inline void SetExpirationDate(const char* value) { m_expirationDateHasBeenSet = true; m_expirationDate.assign(value); }
80 inline ProvisionedCapacityDescription& WithExpirationDate(Aws::String&& value) { SetExpirationDate(std::move(value)); return *this;}
81 inline ProvisionedCapacityDescription& WithExpirationDate(const char* value) { SetExpirationDate(value); return *this;}
83 private:
84
85 Aws::String m_capacityId;
86 bool m_capacityIdHasBeenSet = false;
87
88 Aws::String m_startDate;
89 bool m_startDateHasBeenSet = false;
90
91 Aws::String m_expirationDate;
92 bool m_expirationDateHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Glacier
97} // namespace Aws
ProvisionedCapacityDescription & WithCapacityId(const char *value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisionedCapacityDescription & WithExpirationDate(Aws::String &&value)
ProvisionedCapacityDescription & WithStartDate(const Aws::String &value)
AWS_GLACIER_API ProvisionedCapacityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacityDescription & WithStartDate(const char *value)
ProvisionedCapacityDescription & WithCapacityId(Aws::String &&value)
AWS_GLACIER_API ProvisionedCapacityDescription(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacityDescription & WithExpirationDate(const Aws::String &value)
ProvisionedCapacityDescription & WithCapacityId(const Aws::String &value)
ProvisionedCapacityDescription & WithExpirationDate(const char *value)
ProvisionedCapacityDescription & WithStartDate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue