AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAggregateConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
47 inline const Aws::Vector<Aws::String>& GetAggregates() const{ return m_aggregates; }
48 inline bool AggregatesHasBeenSet() const { return m_aggregatesHasBeenSet; }
49 inline void SetAggregates(const Aws::Vector<Aws::String>& value) { m_aggregatesHasBeenSet = true; m_aggregates = value; }
50 inline void SetAggregates(Aws::Vector<Aws::String>&& value) { m_aggregatesHasBeenSet = true; m_aggregates = std::move(value); }
52 inline CreateAggregateConfiguration& WithAggregates(Aws::Vector<Aws::String>&& value) { SetAggregates(std::move(value)); return *this;}
53 inline CreateAggregateConfiguration& AddAggregates(const Aws::String& value) { m_aggregatesHasBeenSet = true; m_aggregates.push_back(value); return *this; }
54 inline CreateAggregateConfiguration& AddAggregates(Aws::String&& value) { m_aggregatesHasBeenSet = true; m_aggregates.push_back(std::move(value)); return *this; }
55 inline CreateAggregateConfiguration& AddAggregates(const char* value) { m_aggregatesHasBeenSet = true; m_aggregates.push_back(value); return *this; }
57
59
65 inline int GetConstituentsPerAggregate() const{ return m_constituentsPerAggregate; }
66 inline bool ConstituentsPerAggregateHasBeenSet() const { return m_constituentsPerAggregateHasBeenSet; }
67 inline void SetConstituentsPerAggregate(int value) { m_constituentsPerAggregateHasBeenSet = true; m_constituentsPerAggregate = value; }
70 private:
71
72 Aws::Vector<Aws::String> m_aggregates;
73 bool m_aggregatesHasBeenSet = false;
74
75 int m_constituentsPerAggregate;
76 bool m_constituentsPerAggregateHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace FSx
81} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CreateAggregateConfiguration & WithConstituentsPerAggregate(int value)
void SetAggregates(Aws::Vector< Aws::String > &&value)
CreateAggregateConfiguration & WithAggregates(Aws::Vector< Aws::String > &&value)
CreateAggregateConfiguration & AddAggregates(const char *value)
CreateAggregateConfiguration & WithAggregates(const Aws::Vector< Aws::String > &value)
AWS_FSX_API CreateAggregateConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateAggregateConfiguration & AddAggregates(const Aws::String &value)
CreateAggregateConfiguration & AddAggregates(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAggregates() const
void SetAggregates(const Aws::Vector< Aws::String > &value)
AWS_FSX_API CreateAggregateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue