AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/model/Application.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SsmSap
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SSMSAP_API GetApplicationResult() = default;
35
36
38
42 inline const Application& GetApplication() const { return m_application; }
43 template<typename ApplicationT = Application>
44 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
45 template<typename ApplicationT = Application>
46 GetApplicationResult& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
54 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
55 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
56 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
57 GetApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
58 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
59 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
60 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Application m_application;
75 bool m_applicationHasBeenSet = false;
76
78 bool m_tagsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SsmSap
86} // namespace Aws
GetApplicationResult & WithApplication(ApplicationT &&value)
AWS_SSMSAP_API GetApplicationResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_SSMSAP_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithTags(TagsT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
AWS_SSMSAP_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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