AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SsmActionDefinition.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/ActionSubType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Budgets
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BUDGETS_API SsmActionDefinition();
40 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ActionSubType& GetActionSubType() const{ return m_actionSubType; }
48 inline bool ActionSubTypeHasBeenSet() const { return m_actionSubTypeHasBeenSet; }
49 inline void SetActionSubType(const ActionSubType& value) { m_actionSubTypeHasBeenSet = true; m_actionSubType = value; }
50 inline void SetActionSubType(ActionSubType&& value) { m_actionSubTypeHasBeenSet = true; m_actionSubType = std::move(value); }
51 inline SsmActionDefinition& WithActionSubType(const ActionSubType& value) { SetActionSubType(value); return *this;}
52 inline SsmActionDefinition& WithActionSubType(ActionSubType&& value) { SetActionSubType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetRegion() const{ return m_region; }
60 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
61 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
62 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
63 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
64 inline SsmActionDefinition& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
65 inline SsmActionDefinition& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
66 inline SsmActionDefinition& WithRegion(const char* value) { SetRegion(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetInstanceIds() const{ return m_instanceIds; }
74 inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
75 inline void SetInstanceIds(const Aws::Vector<Aws::String>& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = value; }
76 inline void SetInstanceIds(Aws::Vector<Aws::String>&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = std::move(value); }
77 inline SsmActionDefinition& WithInstanceIds(const Aws::Vector<Aws::String>& value) { SetInstanceIds(value); return *this;}
78 inline SsmActionDefinition& WithInstanceIds(Aws::Vector<Aws::String>&& value) { SetInstanceIds(std::move(value)); return *this;}
79 inline SsmActionDefinition& AddInstanceIds(const Aws::String& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
80 inline SsmActionDefinition& AddInstanceIds(Aws::String&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; }
81 inline SsmActionDefinition& AddInstanceIds(const char* value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
83 private:
84
85 ActionSubType m_actionSubType;
86 bool m_actionSubTypeHasBeenSet = false;
87
88 Aws::String m_region;
89 bool m_regionHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_instanceIds;
92 bool m_instanceIdsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Budgets
97} // namespace Aws
void SetActionSubType(const ActionSubType &value)
SsmActionDefinition & AddInstanceIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetInstanceIds() const
void SetInstanceIds(const Aws::Vector< Aws::String > &value)
SsmActionDefinition & WithRegion(Aws::String &&value)
AWS_BUDGETS_API SsmActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const Aws::String &value)
SsmActionDefinition & WithInstanceIds(const Aws::Vector< Aws::String > &value)
SsmActionDefinition & WithRegion(const char *value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
SsmActionDefinition & WithActionSubType(const ActionSubType &value)
SsmActionDefinition & WithActionSubType(ActionSubType &&value)
SsmActionDefinition & WithRegion(const Aws::String &value)
void SetInstanceIds(Aws::Vector< Aws::String > &&value)
SsmActionDefinition & AddInstanceIds(const Aws::String &value)
SsmActionDefinition & AddInstanceIds(const char *value)
void SetActionSubType(ActionSubType &&value)
const ActionSubType & GetActionSubType() const
AWS_BUDGETS_API SsmActionDefinition(Aws::Utils::Json::JsonView jsonValue)
SsmActionDefinition & WithInstanceIds(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