AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolvedTarget.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FIS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FIS_API ResolvedTarget();
39
40
42
45 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
46 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
47 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
48 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
49 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
50 inline ResolvedTarget& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
51 inline ResolvedTarget& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
52 inline ResolvedTarget& WithResourceType(const char* value) { SetResourceType(value); return *this;}
54
56
59 inline const Aws::String& GetTargetName() const{ return m_targetName; }
60 inline bool TargetNameHasBeenSet() const { return m_targetNameHasBeenSet; }
61 inline void SetTargetName(const Aws::String& value) { m_targetNameHasBeenSet = true; m_targetName = value; }
62 inline void SetTargetName(Aws::String&& value) { m_targetNameHasBeenSet = true; m_targetName = std::move(value); }
63 inline void SetTargetName(const char* value) { m_targetNameHasBeenSet = true; m_targetName.assign(value); }
64 inline ResolvedTarget& WithTargetName(const Aws::String& value) { SetTargetName(value); return *this;}
65 inline ResolvedTarget& WithTargetName(Aws::String&& value) { SetTargetName(std::move(value)); return *this;}
66 inline ResolvedTarget& WithTargetName(const char* value) { SetTargetName(value); return *this;}
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetTargetInformation() const{ return m_targetInformation; }
74 inline bool TargetInformationHasBeenSet() const { return m_targetInformationHasBeenSet; }
75 inline void SetTargetInformation(const Aws::Map<Aws::String, Aws::String>& value) { m_targetInformationHasBeenSet = true; m_targetInformation = value; }
76 inline void SetTargetInformation(Aws::Map<Aws::String, Aws::String>&& value) { m_targetInformationHasBeenSet = true; m_targetInformation = std::move(value); }
79 inline ResolvedTarget& AddTargetInformation(const Aws::String& key, const Aws::String& value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(key, value); return *this; }
80 inline ResolvedTarget& AddTargetInformation(Aws::String&& key, const Aws::String& value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(std::move(key), value); return *this; }
81 inline ResolvedTarget& AddTargetInformation(const Aws::String& key, Aws::String&& value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(key, std::move(value)); return *this; }
82 inline ResolvedTarget& AddTargetInformation(Aws::String&& key, Aws::String&& value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(std::move(key), std::move(value)); return *this; }
83 inline ResolvedTarget& AddTargetInformation(const char* key, Aws::String&& value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(key, std::move(value)); return *this; }
84 inline ResolvedTarget& AddTargetInformation(Aws::String&& key, const char* value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(std::move(key), value); return *this; }
85 inline ResolvedTarget& AddTargetInformation(const char* key, const char* value) { m_targetInformationHasBeenSet = true; m_targetInformation.emplace(key, value); return *this; }
87 private:
88
89 Aws::String m_resourceType;
90 bool m_resourceTypeHasBeenSet = false;
91
92 Aws::String m_targetName;
93 bool m_targetNameHasBeenSet = false;
94
95 Aws::Map<Aws::String, Aws::String> m_targetInformation;
96 bool m_targetInformationHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace FIS
101} // namespace Aws
ResolvedTarget & WithTargetName(const Aws::String &value)
void SetTargetInformation(Aws::Map< Aws::String, Aws::String > &&value)
ResolvedTarget & WithTargetName(Aws::String &&value)
ResolvedTarget & AddTargetInformation(Aws::String &&key, Aws::String &&value)
ResolvedTarget & AddTargetInformation(Aws::String &&key, const Aws::String &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceType() const
const Aws::Map< Aws::String, Aws::String > & GetTargetInformation() const
ResolvedTarget & WithTargetInformation(Aws::Map< Aws::String, Aws::String > &&value)
AWS_FIS_API ResolvedTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API ResolvedTarget(Aws::Utils::Json::JsonView jsonValue)
void SetTargetName(const Aws::String &value)
ResolvedTarget & AddTargetInformation(Aws::String &&key, const char *value)
ResolvedTarget & WithResourceType(Aws::String &&value)
void SetTargetName(Aws::String &&value)
ResolvedTarget & WithResourceType(const char *value)
ResolvedTarget & WithTargetName(const char *value)
void SetTargetInformation(const Aws::Map< Aws::String, Aws::String > &value)
ResolvedTarget & AddTargetInformation(const char *key, Aws::String &&value)
ResolvedTarget & AddTargetInformation(const Aws::String &key, Aws::String &&value)
ResolvedTarget & WithResourceType(const Aws::String &value)
void SetResourceType(const Aws::String &value)
ResolvedTarget & AddTargetInformation(const char *key, const char *value)
const Aws::String & GetTargetName() const
void SetResourceType(Aws::String &&value)
ResolvedTarget & AddTargetInformation(const Aws::String &key, const Aws::String &value)
ResolvedTarget & WithTargetInformation(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargetName(const char *value)
void SetResourceType(const char *value)
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