AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionSummary.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/fis/model/ActionTarget.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 FIS
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FIS_API ActionSummary();
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ActionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ActionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ActionSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline ActionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline ActionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline ActionSummary& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ActionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ActionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ActionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::Map<Aws::String, ActionTarget>& GetTargets() const{ return m_targets; }
89 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
90 inline void SetTargets(const Aws::Map<Aws::String, ActionTarget>& value) { m_targetsHasBeenSet = true; m_targets = value; }
91 inline void SetTargets(Aws::Map<Aws::String, ActionTarget>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
92 inline ActionSummary& WithTargets(const Aws::Map<Aws::String, ActionTarget>& value) { SetTargets(value); return *this;}
93 inline ActionSummary& WithTargets(Aws::Map<Aws::String, ActionTarget>&& value) { SetTargets(std::move(value)); return *this;}
94 inline ActionSummary& AddTargets(const Aws::String& key, const ActionTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
95 inline ActionSummary& AddTargets(Aws::String&& key, const ActionTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
96 inline ActionSummary& AddTargets(const Aws::String& key, ActionTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
97 inline ActionSummary& AddTargets(Aws::String&& key, ActionTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), std::move(value)); return *this; }
98 inline ActionSummary& AddTargets(const char* key, ActionTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
99 inline ActionSummary& AddTargets(const char* key, const ActionTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
101
103
106 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
107 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
108 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
109 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
110 inline ActionSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
111 inline ActionSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
112 inline ActionSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
113 inline ActionSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline ActionSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline ActionSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
116 inline ActionSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline ActionSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
118 inline ActionSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
120 private:
121
122 Aws::String m_id;
123 bool m_idHasBeenSet = false;
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
132 bool m_targetsHasBeenSet = false;
133
135 bool m_tagsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace FIS
140} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ActionSummary & AddTags(Aws::String &&key, Aws::String &&value)
ActionSummary & AddTargets(const char *key, const ActionTarget &value)
ActionSummary & WithDescription(Aws::String &&value)
void SetTargets(Aws::Map< Aws::String, ActionTarget > &&value)
ActionSummary & WithDescription(const char *value)
ActionSummary & WithTargets(const Aws::Map< Aws::String, ActionTarget > &value)
ActionSummary & WithId(Aws::String &&value)
ActionSummary & AddTags(const Aws::String &key, const Aws::String &value)
ActionSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_FIS_API ActionSummary(Aws::Utils::Json::JsonView jsonValue)
ActionSummary & AddTargets(Aws::String &&key, const ActionTarget &value)
ActionSummary & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetId() const
void SetArn(const char *value)
ActionSummary & AddTags(Aws::String &&key, const char *value)
void SetTargets(const Aws::Map< Aws::String, ActionTarget > &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
ActionSummary & WithTargets(Aws::Map< Aws::String, ActionTarget > &&value)
ActionSummary & WithId(const Aws::String &value)
ActionSummary & WithDescription(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ActionSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetDescription(const char *value)
ActionSummary & AddTargets(Aws::String &&key, ActionTarget &&value)
void SetId(const Aws::String &value)
void SetId(const char *value)
const Aws::Map< Aws::String, ActionTarget > & GetTargets() const
ActionSummary & AddTargets(const Aws::String &key, ActionTarget &&value)
void SetArn(Aws::String &&value)
ActionSummary & WithArn(const char *value)
AWS_FIS_API ActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionSummary & WithId(const char *value)
void SetId(Aws::String &&value)
ActionSummary & AddTargets(const Aws::String &key, const ActionTarget &value)
ActionSummary & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
ActionSummary & AddTargets(const char *key, ActionTarget &&value)
ActionSummary & WithArn(const Aws::String &value)
ActionSummary & AddTags(const char *key, const char *value)
ActionSummary & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetArn() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue