AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeBandwidthRateLimitScheduleResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace StorageGateway
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
37 
38  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 
40 
41  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
42 
43 
44  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
45 
46 
47  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
48 
49 
50  inline DescribeBandwidthRateLimitScheduleResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
51 
52 
53  inline DescribeBandwidthRateLimitScheduleResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
54 
55 
56  inline DescribeBandwidthRateLimitScheduleResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
57 
58 
63  inline const Aws::Vector<BandwidthRateLimitInterval>& GetBandwidthRateLimitIntervals() const{ return m_bandwidthRateLimitIntervals; }
64 
69  inline void SetBandwidthRateLimitIntervals(const Aws::Vector<BandwidthRateLimitInterval>& value) { m_bandwidthRateLimitIntervals = value; }
70 
75  inline void SetBandwidthRateLimitIntervals(Aws::Vector<BandwidthRateLimitInterval>&& value) { m_bandwidthRateLimitIntervals = std::move(value); }
76 
81  inline DescribeBandwidthRateLimitScheduleResult& WithBandwidthRateLimitIntervals(const Aws::Vector<BandwidthRateLimitInterval>& value) { SetBandwidthRateLimitIntervals(value); return *this;}
82 
87  inline DescribeBandwidthRateLimitScheduleResult& WithBandwidthRateLimitIntervals(Aws::Vector<BandwidthRateLimitInterval>&& value) { SetBandwidthRateLimitIntervals(std::move(value)); return *this;}
88 
93  inline DescribeBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(const BandwidthRateLimitInterval& value) { m_bandwidthRateLimitIntervals.push_back(value); return *this; }
94 
99  inline DescribeBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(BandwidthRateLimitInterval&& value) { m_bandwidthRateLimitIntervals.push_back(std::move(value)); return *this; }
100 
101  private:
102 
103  Aws::String m_gatewayARN;
104 
105  Aws::Vector<BandwidthRateLimitInterval> m_bandwidthRateLimitIntervals;
106  };
107 
108 } // namespace Model
109 } // namespace StorageGateway
110 } // namespace Aws
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:41
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult
Definition: DescribeBandwidthRateLimitScheduleResult.h:30
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::DescribeBandwidthRateLimitScheduleResult
DescribeBandwidthRateLimitScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:44
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::GetBandwidthRateLimitIntervals
const Aws::Vector< BandwidthRateLimitInterval > & GetBandwidthRateLimitIntervals() const
Definition: DescribeBandwidthRateLimitScheduleResult.h:63
BandwidthRateLimitInterval.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::DescribeBandwidthRateLimitScheduleResult
DescribeBandwidthRateLimitScheduleResult()
AWSVector.h
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::WithBandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResult & WithBandwidthRateLimitIntervals(Aws::Vector< BandwidthRateLimitInterval > &&value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:87
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeBandwidthRateLimitScheduleResult.h:38
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::WithGatewayARN
DescribeBandwidthRateLimitScheduleResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:50
Aws::StorageGateway::Model::BandwidthRateLimitInterval
Definition: BandwidthRateLimitInterval.h:36
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::WithGatewayARN
DescribeBandwidthRateLimitScheduleResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:53
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::WithBandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResult & WithBandwidthRateLimitIntervals(const Aws::Vector< BandwidthRateLimitInterval > &value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:81
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::WithGatewayARN
DescribeBandwidthRateLimitScheduleResult & WithGatewayARN(const char *value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:56
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:47
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::operator=
DescribeBandwidthRateLimitScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::AddBandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResult & AddBandwidthRateLimitIntervals(const BandwidthRateLimitInterval &value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::AddBandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResult & AddBandwidthRateLimitIntervals(BandwidthRateLimitInterval &&value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:99
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::SetBandwidthRateLimitIntervals
void SetBandwidthRateLimitIntervals(const Aws::Vector< BandwidthRateLimitInterval > &value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeBandwidthRateLimitScheduleResult::SetBandwidthRateLimitIntervals
void SetBandwidthRateLimitIntervals(Aws::Vector< BandwidthRateLimitInterval > &&value)
Definition: DescribeBandwidthRateLimitScheduleResult.h:75