AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 ComponentSummary& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetComponentId() const { return m_componentId; }
59 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
60 template<typename ComponentIdT = Aws::String>
61 void SetComponentId(ComponentIdT&& value) { m_componentIdHasBeenSet = true; m_componentId = std::forward<ComponentIdT>(value); }
62 template<typename ComponentIdT = Aws::String>
63 ComponentSummary& WithComponentId(ComponentIdT&& value) { SetComponentId(std::forward<ComponentIdT>(value)); return *this;}
65
67
70 inline ComponentType GetComponentType() const { return m_componentType; }
71 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
72 inline void SetComponentType(ComponentType value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
73 inline ComponentSummary& WithComponentType(ComponentType value) { SetComponentType(value); return *this;}
75
77
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
84 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 ComponentSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
86 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
87 ComponentSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
88 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
89 }
91
93
96 inline const Aws::String& GetArn() const { return m_arn; }
97 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
98 template<typename ArnT = Aws::String>
99 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
100 template<typename ArnT = Aws::String>
101 ComponentSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
103 private:
104
105 Aws::String m_applicationId;
106 bool m_applicationIdHasBeenSet = false;
107
108 Aws::String m_componentId;
109 bool m_componentIdHasBeenSet = false;
110
111 ComponentType m_componentType{ComponentType::NOT_SET};
112 bool m_componentTypeHasBeenSet = false;
113
115 bool m_tagsHasBeenSet = false;
116
117 Aws::String m_arn;
118 bool m_arnHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SsmSap
123} // namespace Aws
void SetComponentType(ComponentType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetArn() const
ComponentSummary & WithApplicationId(ApplicationIdT &&value)
ComponentSummary & WithTags(TagsT &&value)
ComponentSummary & WithArn(ArnT &&value)
ComponentSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_SSMSAP_API ComponentSummary()=default
AWS_SSMSAP_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComponentId(ComponentIdT &&value)
const Aws::String & GetComponentId() const
ComponentSummary & WithComponentId(ComponentIdT &&value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentSummary & WithComponentType(ComponentType value)
void SetApplicationId(ApplicationIdT &&value)
AWS_SSMSAP_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApplicationId() 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