AWS SDK for C++  1.9.175
AWS SDK for C++
BufferingHints.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Firehose
20 {
21 namespace Model
22 {
23 
35  {
36  public:
41 
42 
52  inline int GetSizeInMBs() const{ return m_sizeInMBs; }
53 
63  inline bool SizeInMBsHasBeenSet() const { return m_sizeInMBsHasBeenSet; }
64 
74  inline void SetSizeInMBs(int value) { m_sizeInMBsHasBeenSet = true; m_sizeInMBs = value; }
75 
85  inline BufferingHints& WithSizeInMBs(int value) { SetSizeInMBs(value); return *this;}
86 
87 
94  inline int GetIntervalInSeconds() const{ return m_intervalInSeconds; }
95 
102  inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; }
103 
110  inline void SetIntervalInSeconds(int value) { m_intervalInSecondsHasBeenSet = true; m_intervalInSeconds = value; }
111 
118  inline BufferingHints& WithIntervalInSeconds(int value) { SetIntervalInSeconds(value); return *this;}
119 
120  private:
121 
122  int m_sizeInMBs;
123  bool m_sizeInMBsHasBeenSet;
124 
125  int m_intervalInSeconds;
126  bool m_intervalInSecondsHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace Firehose
131 } // namespace Aws
Aws::Firehose::Model::BufferingHints::BufferingHints
BufferingHints()
Aws::Firehose::Model::BufferingHints::IntervalInSecondsHasBeenSet
bool IntervalInSecondsHasBeenSet() const
Definition: BufferingHints.h:102
Aws::Firehose::Model::BufferingHints::operator=
BufferingHints & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::BufferingHints::SetIntervalInSeconds
void SetIntervalInSeconds(int value)
Definition: BufferingHints.h:110
Aws::Firehose::Model::BufferingHints::GetIntervalInSeconds
int GetIntervalInSeconds() const
Definition: BufferingHints.h:94
Aws::Firehose::Model::BufferingHints::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::BufferingHints::GetSizeInMBs
int GetSizeInMBs() const
Definition: BufferingHints.h:52
Aws::Firehose::Model::BufferingHints::SetSizeInMBs
void SetSizeInMBs(int value)
Definition: BufferingHints.h:74
Aws::Firehose::Model::BufferingHints::WithSizeInMBs
BufferingHints & WithSizeInMBs(int value)
Definition: BufferingHints.h:85
Aws::Firehose::Model::BufferingHints
Definition: BufferingHints.h:35
Aws::Firehose::Model::BufferingHints::BufferingHints
BufferingHints(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::BufferingHints::SizeInMBsHasBeenSet
bool SizeInMBsHasBeenSet() const
Definition: BufferingHints.h:63
Firehose_EXPORTS.h
Aws::Firehose::Model::BufferingHints::WithIntervalInSeconds
BufferingHints & WithIntervalInSeconds(int value)
Definition: BufferingHints.h:118
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15