AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedBandwidth.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_EC2_API ProvisionedBandwidth();
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::Utils::DateTime& GetProvisionTime() const{ return m_provisionTime; }
50 inline bool ProvisionTimeHasBeenSet() const { return m_provisionTimeHasBeenSet; }
51 inline void SetProvisionTime(const Aws::Utils::DateTime& value) { m_provisionTimeHasBeenSet = true; m_provisionTime = value; }
52 inline void SetProvisionTime(Aws::Utils::DateTime&& value) { m_provisionTimeHasBeenSet = true; m_provisionTime = std::move(value); }
53 inline ProvisionedBandwidth& WithProvisionTime(const Aws::Utils::DateTime& value) { SetProvisionTime(value); return *this;}
54 inline ProvisionedBandwidth& WithProvisionTime(Aws::Utils::DateTime&& value) { SetProvisionTime(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetProvisioned() const{ return m_provisioned; }
62 inline bool ProvisionedHasBeenSet() const { return m_provisionedHasBeenSet; }
63 inline void SetProvisioned(const Aws::String& value) { m_provisionedHasBeenSet = true; m_provisioned = value; }
64 inline void SetProvisioned(Aws::String&& value) { m_provisionedHasBeenSet = true; m_provisioned = std::move(value); }
65 inline void SetProvisioned(const char* value) { m_provisionedHasBeenSet = true; m_provisioned.assign(value); }
66 inline ProvisionedBandwidth& WithProvisioned(const Aws::String& value) { SetProvisioned(value); return *this;}
67 inline ProvisionedBandwidth& WithProvisioned(Aws::String&& value) { SetProvisioned(std::move(value)); return *this;}
68 inline ProvisionedBandwidth& WithProvisioned(const char* value) { SetProvisioned(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetRequestTime() const{ return m_requestTime; }
76 inline bool RequestTimeHasBeenSet() const { return m_requestTimeHasBeenSet; }
77 inline void SetRequestTime(const Aws::Utils::DateTime& value) { m_requestTimeHasBeenSet = true; m_requestTime = value; }
78 inline void SetRequestTime(Aws::Utils::DateTime&& value) { m_requestTimeHasBeenSet = true; m_requestTime = std::move(value); }
79 inline ProvisionedBandwidth& WithRequestTime(const Aws::Utils::DateTime& value) { SetRequestTime(value); return *this;}
80 inline ProvisionedBandwidth& WithRequestTime(Aws::Utils::DateTime&& value) { SetRequestTime(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetRequested() const{ return m_requested; }
88 inline bool RequestedHasBeenSet() const { return m_requestedHasBeenSet; }
89 inline void SetRequested(const Aws::String& value) { m_requestedHasBeenSet = true; m_requested = value; }
90 inline void SetRequested(Aws::String&& value) { m_requestedHasBeenSet = true; m_requested = std::move(value); }
91 inline void SetRequested(const char* value) { m_requestedHasBeenSet = true; m_requested.assign(value); }
92 inline ProvisionedBandwidth& WithRequested(const Aws::String& value) { SetRequested(value); return *this;}
93 inline ProvisionedBandwidth& WithRequested(Aws::String&& value) { SetRequested(std::move(value)); return *this;}
94 inline ProvisionedBandwidth& WithRequested(const char* value) { SetRequested(value); return *this;}
96
98
101 inline const Aws::String& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
106 inline ProvisionedBandwidth& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
107 inline ProvisionedBandwidth& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
108 inline ProvisionedBandwidth& WithStatus(const char* value) { SetStatus(value); return *this;}
110 private:
111
112 Aws::Utils::DateTime m_provisionTime;
113 bool m_provisionTimeHasBeenSet = false;
114
115 Aws::String m_provisioned;
116 bool m_provisionedHasBeenSet = false;
117
118 Aws::Utils::DateTime m_requestTime;
119 bool m_requestTimeHasBeenSet = false;
120
121 Aws::String m_requested;
122 bool m_requestedHasBeenSet = false;
123
124 Aws::String m_status;
125 bool m_statusHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EC2
130} // namespace Aws
void SetProvisionTime(Aws::Utils::DateTime &&value)
void SetProvisioned(const Aws::String &value)
ProvisionedBandwidth & WithProvisioned(Aws::String &&value)
const Aws::Utils::DateTime & GetRequestTime() const
ProvisionedBandwidth & WithStatus(const Aws::String &value)
ProvisionedBandwidth & WithProvisionTime(Aws::Utils::DateTime &&value)
ProvisionedBandwidth & WithRequestTime(const Aws::Utils::DateTime &value)
const Aws::String & GetProvisioned() const
ProvisionedBandwidth & WithProvisioned(const char *value)
ProvisionedBandwidth & WithRequested(const char *value)
void SetRequestTime(const Aws::Utils::DateTime &value)
void SetRequested(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetProvisionTime(const Aws::Utils::DateTime &value)
void SetRequestTime(Aws::Utils::DateTime &&value)
AWS_EC2_API ProvisionedBandwidth(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRequested() const
void SetStatus(const Aws::String &value)
AWS_EC2_API ProvisionedBandwidth & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ProvisionedBandwidth & WithStatus(const char *value)
ProvisionedBandwidth & WithRequested(const Aws::String &value)
ProvisionedBandwidth & WithRequested(Aws::String &&value)
ProvisionedBandwidth & WithRequestTime(Aws::Utils::DateTime &&value)
ProvisionedBandwidth & WithProvisioned(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ProvisionedBandwidth & WithProvisionTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetProvisionTime() const
ProvisionedBandwidth & WithStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream