AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityAssignment.h
1
6#pragma once
7#include <aws/athena/Athena_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 Athena
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ATHENA_API CapacityAssignment();
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetWorkGroupNames() const{ return m_workGroupNames; }
47 inline bool WorkGroupNamesHasBeenSet() const { return m_workGroupNamesHasBeenSet; }
48 inline void SetWorkGroupNames(const Aws::Vector<Aws::String>& value) { m_workGroupNamesHasBeenSet = true; m_workGroupNames = value; }
49 inline void SetWorkGroupNames(Aws::Vector<Aws::String>&& value) { m_workGroupNamesHasBeenSet = true; m_workGroupNames = std::move(value); }
51 inline CapacityAssignment& WithWorkGroupNames(Aws::Vector<Aws::String>&& value) { SetWorkGroupNames(std::move(value)); return *this;}
52 inline CapacityAssignment& AddWorkGroupNames(const Aws::String& value) { m_workGroupNamesHasBeenSet = true; m_workGroupNames.push_back(value); return *this; }
53 inline CapacityAssignment& AddWorkGroupNames(Aws::String&& value) { m_workGroupNamesHasBeenSet = true; m_workGroupNames.push_back(std::move(value)); return *this; }
54 inline CapacityAssignment& AddWorkGroupNames(const char* value) { m_workGroupNamesHasBeenSet = true; m_workGroupNames.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_workGroupNames;
59 bool m_workGroupNamesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Athena
64} // namespace Aws
CapacityAssignment & AddWorkGroupNames(Aws::String &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityAssignment & AddWorkGroupNames(const Aws::String &value)
void SetWorkGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetWorkGroupNames() const
CapacityAssignment & AddWorkGroupNames(const char *value)
AWS_ATHENA_API CapacityAssignment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWorkGroupNames(const Aws::Vector< Aws::String > &value)
CapacityAssignment & WithWorkGroupNames(Aws::Vector< Aws::String > &&value)
CapacityAssignment & WithWorkGroupNames(const Aws::Vector< Aws::String > &value)
AWS_ATHENA_API CapacityAssignment(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