AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentSummary.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/ComponentType.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 SsmSap
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSMSAP_API ComponentSummary();
39 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline ComponentSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline ComponentSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline ComponentSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetComponentId() const{ return m_componentId; }
61 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
62 inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; }
63 inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); }
64 inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); }
65 inline ComponentSummary& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;}
66 inline ComponentSummary& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;}
67 inline ComponentSummary& WithComponentId(const char* value) { SetComponentId(value); return *this;}
69
71
74 inline const ComponentType& GetComponentType() const{ return m_componentType; }
75 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
76 inline void SetComponentType(const ComponentType& value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
77 inline void SetComponentType(ComponentType&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); }
78 inline ComponentSummary& WithComponentType(const ComponentType& value) { SetComponentType(value); return *this;}
79 inline ComponentSummary& WithComponentType(ComponentType&& value) { SetComponentType(std::move(value)); return *this;}
81
83
86 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
89 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
90 inline ComponentSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
91 inline ComponentSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
92 inline ComponentSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
93 inline ComponentSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline ComponentSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline ComponentSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
96 inline ComponentSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
97 inline ComponentSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
98 inline ComponentSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
100
102
105 inline const Aws::String& GetArn() const{ return m_arn; }
106 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
107 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
108 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
109 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
110 inline ComponentSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 inline ComponentSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
112 inline ComponentSummary& WithArn(const char* value) { SetArn(value); return *this;}
114 private:
115
116 Aws::String m_applicationId;
117 bool m_applicationIdHasBeenSet = false;
118
119 Aws::String m_componentId;
120 bool m_componentIdHasBeenSet = false;
121
122 ComponentType m_componentType;
123 bool m_componentTypeHasBeenSet = false;
124
126 bool m_tagsHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SsmSap
134} // namespace Aws
ComponentSummary & WithApplicationId(const char *value)
ComponentSummary & AddTags(const Aws::String &key, const Aws::String &value)
ComponentSummary & AddTags(Aws::String &&key, const char *value)
void SetApplicationId(Aws::String &&value)
ComponentSummary & WithArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ComponentSummary & AddTags(const char *key, const char *value)
ComponentSummary & WithComponentType(ComponentType &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetApplicationId(const char *value)
const Aws::String & GetArn() const
ComponentSummary & WithArn(const Aws::String &value)
ComponentSummary & WithComponentType(const ComponentType &value)
ComponentSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetComponentType(const ComponentType &value)
void SetComponentId(const Aws::String &value)
ComponentSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ComponentSummary & WithApplicationId(const Aws::String &value)
ComponentSummary & WithComponentId(const char *value)
ComponentSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ComponentSummary & WithApplicationId(Aws::String &&value)
AWS_SSMSAP_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithComponentId(const Aws::String &value)
ComponentSummary & AddTags(Aws::String &&key, Aws::String &&value)
const ComponentType & GetComponentType() const
void SetComponentId(const char *value)
void SetComponentType(ComponentType &&value)
void SetApplicationId(const Aws::String &value)
ComponentSummary & WithArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetComponentId() const
void SetArn(const Aws::String &value)
ComponentSummary & WithComponentId(Aws::String &&value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentSummary & AddTags(const char *key, Aws::String &&value)
ComponentSummary & AddTags(Aws::String &&key, const Aws::String &value)
AWS_SSMSAP_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApplicationId() const
void SetComponentId(Aws::String &&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