AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
43 inline const Aws::Vector<BandwidthRateLimitInterval>& GetBandwidthRateLimitIntervals() const { return m_bandwidthRateLimitIntervals; }
44 template<typename BandwidthRateLimitIntervalsT = Aws::Vector<BandwidthRateLimitInterval>>
45 void SetBandwidthRateLimitIntervals(BandwidthRateLimitIntervalsT&& value) { m_bandwidthRateLimitIntervalsHasBeenSet = true; m_bandwidthRateLimitIntervals = std::forward<BandwidthRateLimitIntervalsT>(value); }
46 template<typename BandwidthRateLimitIntervalsT = Aws::Vector<BandwidthRateLimitInterval>>
47 GetBandwidthRateLimitScheduleResult& WithBandwidthRateLimitIntervals(BandwidthRateLimitIntervalsT&& value) { SetBandwidthRateLimitIntervals(std::forward<BandwidthRateLimitIntervalsT>(value)); return *this;}
48 template<typename BandwidthRateLimitIntervalsT = BandwidthRateLimitInterval>
49 GetBandwidthRateLimitScheduleResult& AddBandwidthRateLimitIntervals(BandwidthRateLimitIntervalsT&& value) { m_bandwidthRateLimitIntervalsHasBeenSet = true; m_bandwidthRateLimitIntervals.emplace_back(std::forward<BandwidthRateLimitIntervalsT>(value)); return *this; }
51
53
59 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
60 template<typename GatewayArnT = Aws::String>
61 void SetGatewayArn(GatewayArnT&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::forward<GatewayArnT>(value); }
62 template<typename GatewayArnT = Aws::String>
63 GetBandwidthRateLimitScheduleResult& WithGatewayArn(GatewayArnT&& value) { SetGatewayArn(std::forward<GatewayArnT>(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template<typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
71 template<typename RequestIdT = Aws::String>
72 GetBandwidthRateLimitScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
74 private:
75
76 Aws::Vector<BandwidthRateLimitInterval> m_bandwidthRateLimitIntervals;
77 bool m_bandwidthRateLimitIntervalsHasBeenSet = false;
78
79 Aws::String m_gatewayArn;
80 bool m_gatewayArnHasBeenSet = false;
81
82 Aws::String m_requestId;
83 bool m_requestIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace BackupGateway
88} // namespace Aws
AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BandwidthRateLimitInterval > & GetBandwidthRateLimitIntervals() const
AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult()=default
AWS_BACKUPGATEWAY_API GetBandwidthRateLimitScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBandwidthRateLimitScheduleResult & WithGatewayArn(GatewayArnT &&value)
GetBandwidthRateLimitScheduleResult & WithRequestId(RequestIdT &&value)
GetBandwidthRateLimitScheduleResult & WithBandwidthRateLimitIntervals(BandwidthRateLimitIntervalsT &&value)
GetBandwidthRateLimitScheduleResult & AddBandwidthRateLimitIntervals(BandwidthRateLimitIntervalsT &&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