AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregateConfiguration.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
56 inline const Aws::Vector<Aws::String>& GetAggregates() const{ return m_aggregates; }
57 inline bool AggregatesHasBeenSet() const { return m_aggregatesHasBeenSet; }
58 inline void SetAggregates(const Aws::Vector<Aws::String>& value) { m_aggregatesHasBeenSet = true; m_aggregates = value; }
59 inline void SetAggregates(Aws::Vector<Aws::String>&& value) { m_aggregatesHasBeenSet = true; m_aggregates = std::move(value); }
60 inline AggregateConfiguration& WithAggregates(const Aws::Vector<Aws::String>& value) { SetAggregates(value); return *this;}
61 inline AggregateConfiguration& WithAggregates(Aws::Vector<Aws::String>&& value) { SetAggregates(std::move(value)); return *this;}
62 inline AggregateConfiguration& AddAggregates(const Aws::String& value) { m_aggregatesHasBeenSet = true; m_aggregates.push_back(value); return *this; }
63 inline AggregateConfiguration& AddAggregates(Aws::String&& value) { m_aggregatesHasBeenSet = true; m_aggregates.push_back(std::move(value)); return *this; }
64 inline AggregateConfiguration& AddAggregates(const char* value) { m_aggregatesHasBeenSet = true; m_aggregates.push_back(value); return *this; }
66
68
72 inline int GetTotalConstituents() const{ return m_totalConstituents; }
73 inline bool TotalConstituentsHasBeenSet() const { return m_totalConstituentsHasBeenSet; }
74 inline void SetTotalConstituents(int value) { m_totalConstituentsHasBeenSet = true; m_totalConstituents = value; }
75 inline AggregateConfiguration& WithTotalConstituents(int value) { SetTotalConstituents(value); return *this;}
77 private:
78
79 Aws::Vector<Aws::String> m_aggregates;
80 bool m_aggregatesHasBeenSet = false;
81
82 int m_totalConstituents;
83 bool m_totalConstituentsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace FSx
88} // namespace Aws
AggregateConfiguration & AddAggregates(const Aws::String &value)
AWS_FSX_API AggregateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateConfiguration & AddAggregates(Aws::String &&value)
AggregateConfiguration & WithAggregates(Aws::Vector< Aws::String > &&value)
AggregateConfiguration & WithTotalConstituents(int value)
AggregateConfiguration & WithAggregates(const Aws::Vector< Aws::String > &value)
AggregateConfiguration & AddAggregates(const char *value)
void SetAggregates(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAggregates() const
AWS_FSX_API AggregateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAggregates(Aws::Vector< Aws::String > &&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