AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBandwidthRateLimitScheduleResult.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/backup-gateway/model/BandwidthRateLimitInterval.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BackupGateway
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult();
35
36
38
43 inline const Aws::Vector<BandwidthRateLimitInterval>& GetBandwidthRateLimitIntervals() const{ return m_bandwidthRateLimitIntervals; }
44 inline void SetBandwidthRateLimitIntervals(const Aws::Vector<BandwidthRateLimitInterval>& value) { m_bandwidthRateLimitIntervals = value; }
45 inline void SetBandwidthRateLimitIntervals(Aws::Vector<BandwidthRateLimitInterval>&& value) { m_bandwidthRateLimitIntervals = std::move(value); }
48 inline GetBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(const BandwidthRateLimitInterval& value) { m_bandwidthRateLimitIntervals.push_back(value); return *this; }
49 inline GetBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(BandwidthRateLimitInterval&& value) { m_bandwidthRateLimitIntervals.push_back(std::move(value)); return *this; }
51
53
59 inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
60 inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; }
61 inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); }
62 inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); }
63 inline GetBandwidthRateLimitScheduleResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
64 inline GetBandwidthRateLimitScheduleResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
65 inline GetBandwidthRateLimitScheduleResult& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline GetBandwidthRateLimitScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline GetBandwidthRateLimitScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline GetBandwidthRateLimitScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::Vector<BandwidthRateLimitInterval> m_bandwidthRateLimitIntervals;
81
82 Aws::String m_gatewayArn;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace BackupGateway
89} // namespace Aws
GetBandwidthRateLimitScheduleResult & WithGatewayArn(Aws::String &&value)
GetBandwidthRateLimitScheduleResult & WithGatewayArn(const Aws::String &value)
GetBandwidthRateLimitScheduleResult & WithBandwidthRateLimitIntervals(const Aws::Vector< BandwidthRateLimitInterval > &value)
AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBandwidthRateLimitScheduleResult & AddBandwidthRateLimitIntervals(const BandwidthRateLimitInterval &value)
void SetBandwidthRateLimitIntervals(const Aws::Vector< BandwidthRateLimitInterval > &value)
const Aws::Vector< BandwidthRateLimitInterval > & GetBandwidthRateLimitIntervals() const
GetBandwidthRateLimitScheduleResult & WithBandwidthRateLimitIntervals(Aws::Vector< BandwidthRateLimitInterval > &&value)
AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBandwidthRateLimitScheduleResult & WithRequestId(const Aws::String &value)
void SetBandwidthRateLimitIntervals(Aws::Vector< BandwidthRateLimitInterval > &&value)
GetBandwidthRateLimitScheduleResult & WithGatewayArn(const char *value)
GetBandwidthRateLimitScheduleResult & WithRequestId(Aws::String &&value)
GetBandwidthRateLimitScheduleResult & AddBandwidthRateLimitIntervals(BandwidthRateLimitInterval &&value)
GetBandwidthRateLimitScheduleResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue