AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSummary.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/ApplicationDiscoveryStatus.h>
10#include <aws/ssm-sap/model/ApplicationType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SsmSap
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SSMSAP_API ApplicationSummary();
41 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline ApplicationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ApplicationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ApplicationSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const ApplicationDiscoveryStatus& GetDiscoveryStatus() const{ return m_discoveryStatus; }
63 inline bool DiscoveryStatusHasBeenSet() const { return m_discoveryStatusHasBeenSet; }
64 inline void SetDiscoveryStatus(const ApplicationDiscoveryStatus& value) { m_discoveryStatusHasBeenSet = true; m_discoveryStatus = value; }
65 inline void SetDiscoveryStatus(ApplicationDiscoveryStatus&& value) { m_discoveryStatusHasBeenSet = true; m_discoveryStatus = std::move(value); }
67 inline ApplicationSummary& WithDiscoveryStatus(ApplicationDiscoveryStatus&& value) { SetDiscoveryStatus(std::move(value)); return *this;}
69
71
74 inline const ApplicationType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const ApplicationType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(ApplicationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline ApplicationSummary& WithType(const ApplicationType& value) { SetType(value); return *this;}
79 inline ApplicationSummary& WithType(ApplicationType&& value) { SetType(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetArn() const{ return m_arn; }
87 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
88 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
89 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
90 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
91 inline ApplicationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
92 inline ApplicationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
93 inline ApplicationSummary& WithArn(const char* value) { SetArn(value); return *this;}
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
103 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
104 inline ApplicationSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
105 inline ApplicationSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
106 inline ApplicationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
107 inline ApplicationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
108 inline ApplicationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
109 inline ApplicationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
110 inline ApplicationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline ApplicationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
112 inline ApplicationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
114 private:
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 ApplicationDiscoveryStatus m_discoveryStatus;
120 bool m_discoveryStatusHasBeenSet = false;
121
122 ApplicationType m_type;
123 bool m_typeHasBeenSet = false;
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
129 bool m_tagsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SsmSap
134} // namespace Aws
void SetArn(const Aws::String &value)
ApplicationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ApplicationSummary & WithArn(const char *value)
ApplicationSummary & AddTags(Aws::String &&key, const char *value)
ApplicationSummary & WithId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ApplicationSummary & AddTags(const char *key, Aws::String &&value)
const ApplicationDiscoveryStatus & GetDiscoveryStatus() const
void SetId(const Aws::String &value)
ApplicationSummary & AddTags(Aws::String &&key, Aws::String &&value)
ApplicationSummary & WithType(const ApplicationType &value)
ApplicationSummary & WithType(ApplicationType &&value)
void SetType(ApplicationType &&value)
ApplicationSummary & WithId(Aws::String &&value)
ApplicationSummary & WithId(const char *value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSummary & AddTags(const Aws::String &key, Aws::String &&value)
ApplicationSummary & WithArn(const Aws::String &value)
ApplicationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const ApplicationType & GetType() const
void SetDiscoveryStatus(ApplicationDiscoveryStatus &&value)
ApplicationSummary & AddTags(const char *key, const char *value)
ApplicationSummary & WithDiscoveryStatus(const ApplicationDiscoveryStatus &value)
ApplicationSummary & WithDiscoveryStatus(ApplicationDiscoveryStatus &&value)
AWS_SSMSAP_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMSAP_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDiscoveryStatus(const ApplicationDiscoveryStatus &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetType(const ApplicationType &value)
ApplicationSummary & WithArn(Aws::String &&value)
ApplicationSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ApplicationSummary & AddTags(Aws::String &&key, const 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