AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_GLACIER_API ProvisionedCapacityDescription() = default;
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 template<typename CapacityIdT = Aws::String>
47 void SetCapacityId(CapacityIdT&& value) { m_capacityIdHasBeenSet = true; m_capacityId = std::forward<CapacityIdT>(value); }
48 template<typename CapacityIdT = Aws::String>
49 ProvisionedCapacityDescription& WithCapacityId(CapacityIdT&& value) { SetCapacityId(std::forward<CapacityIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetStartDate() const { return m_startDate; }
58 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
59 template<typename StartDateT = Aws::String>
60 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
61 template<typename StartDateT = Aws::String>
62 ProvisionedCapacityDescription& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
64
66
70 inline const Aws::String& GetExpirationDate() const { return m_expirationDate; }
71 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
72 template<typename ExpirationDateT = Aws::String>
73 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
74 template<typename ExpirationDateT = Aws::String>
75 ProvisionedCapacityDescription& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
77 private:
78
79 Aws::String m_capacityId;
80 bool m_capacityIdHasBeenSet = false;
81
82 Aws::String m_startDate;
83 bool m_startDateHasBeenSet = false;
84
85 Aws::String m_expirationDate;
86 bool m_expirationDateHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glacier
91} // namespace Aws
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLACIER_API ProvisionedCapacityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacityDescription & WithStartDate(StartDateT &&value)
ProvisionedCapacityDescription & WithCapacityId(CapacityIdT &&value)
AWS_GLACIER_API ProvisionedCapacityDescription()=default
AWS_GLACIER_API ProvisionedCapacityDescription(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacityDescription & WithExpirationDate(ExpirationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue