AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Definition.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/IamActionDefinition.h>
9#include <aws/budgets/model/ScpActionDefinition.h>
10#include <aws/budgets/model/SsmActionDefinition.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
34 {
35 public:
36 AWS_BUDGETS_API Definition();
37 AWS_BUDGETS_API Definition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BUDGETS_API Definition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const IamActionDefinition& GetIamActionDefinition() const{ return m_iamActionDefinition; }
47 inline bool IamActionDefinitionHasBeenSet() const { return m_iamActionDefinitionHasBeenSet; }
48 inline void SetIamActionDefinition(const IamActionDefinition& value) { m_iamActionDefinitionHasBeenSet = true; m_iamActionDefinition = value; }
49 inline void SetIamActionDefinition(IamActionDefinition&& value) { m_iamActionDefinitionHasBeenSet = true; m_iamActionDefinition = std::move(value); }
51 inline Definition& WithIamActionDefinition(IamActionDefinition&& value) { SetIamActionDefinition(std::move(value)); return *this;}
53
55
58 inline const ScpActionDefinition& GetScpActionDefinition() const{ return m_scpActionDefinition; }
59 inline bool ScpActionDefinitionHasBeenSet() const { return m_scpActionDefinitionHasBeenSet; }
60 inline void SetScpActionDefinition(const ScpActionDefinition& value) { m_scpActionDefinitionHasBeenSet = true; m_scpActionDefinition = value; }
61 inline void SetScpActionDefinition(ScpActionDefinition&& value) { m_scpActionDefinitionHasBeenSet = true; m_scpActionDefinition = std::move(value); }
63 inline Definition& WithScpActionDefinition(ScpActionDefinition&& value) { SetScpActionDefinition(std::move(value)); return *this;}
65
67
70 inline const SsmActionDefinition& GetSsmActionDefinition() const{ return m_ssmActionDefinition; }
71 inline bool SsmActionDefinitionHasBeenSet() const { return m_ssmActionDefinitionHasBeenSet; }
72 inline void SetSsmActionDefinition(const SsmActionDefinition& value) { m_ssmActionDefinitionHasBeenSet = true; m_ssmActionDefinition = value; }
73 inline void SetSsmActionDefinition(SsmActionDefinition&& value) { m_ssmActionDefinitionHasBeenSet = true; m_ssmActionDefinition = std::move(value); }
75 inline Definition& WithSsmActionDefinition(SsmActionDefinition&& value) { SetSsmActionDefinition(std::move(value)); return *this;}
77 private:
78
79 IamActionDefinition m_iamActionDefinition;
80 bool m_iamActionDefinitionHasBeenSet = false;
81
82 ScpActionDefinition m_scpActionDefinition;
83 bool m_scpActionDefinitionHasBeenSet = false;
84
85 SsmActionDefinition m_ssmActionDefinition;
86 bool m_ssmActionDefinitionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Budgets
91} // namespace Aws
const IamActionDefinition & GetIamActionDefinition() const
Definition Definition.h:46
Definition & WithIamActionDefinition(IamActionDefinition &&value)
Definition Definition.h:51
const SsmActionDefinition & GetSsmActionDefinition() const
Definition Definition.h:70
bool ScpActionDefinitionHasBeenSet() const
Definition Definition.h:59
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
Definition & WithSsmActionDefinition(const SsmActionDefinition &value)
Definition Definition.h:74
const ScpActionDefinition & GetScpActionDefinition() const
Definition Definition.h:58
Definition & WithIamActionDefinition(const IamActionDefinition &value)
Definition Definition.h:50
AWS_BUDGETS_API Definition(Aws::Utils::Json::JsonView jsonValue)
void SetSsmActionDefinition(SsmActionDefinition &&value)
Definition Definition.h:73
void SetScpActionDefinition(const ScpActionDefinition &value)
Definition Definition.h:60
AWS_BUDGETS_API Definition & operator=(Aws::Utils::Json::JsonView jsonValue)
Definition & WithScpActionDefinition(ScpActionDefinition &&value)
Definition Definition.h:63
bool IamActionDefinitionHasBeenSet() const
Definition Definition.h:47
void SetScpActionDefinition(ScpActionDefinition &&value)
Definition Definition.h:61
Definition & WithSsmActionDefinition(SsmActionDefinition &&value)
Definition Definition.h:75
void SetIamActionDefinition(const IamActionDefinition &value)
Definition Definition.h:48
bool SsmActionDefinitionHasBeenSet() const
Definition Definition.h:71
Definition & WithScpActionDefinition(const ScpActionDefinition &value)
Definition Definition.h:62
void SetIamActionDefinition(IamActionDefinition &&value)
Definition Definition.h:49
void SetSsmActionDefinition(const SsmActionDefinition &value)
Definition Definition.h:72
Aws::Utils::Json::JsonValue JsonValue