AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLoggerDefinitionVersionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/LoggerDefinitionVersion.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Greengrass
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GREENGRASS_API GetLoggerDefinitionVersionResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 GetLoggerDefinitionVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
52 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
53 template<typename CreationTimestampT = Aws::String>
54 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
55 template<typename CreationTimestampT = Aws::String>
56 GetLoggerDefinitionVersionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
58
60
63 inline const LoggerDefinitionVersion& GetDefinition() const { return m_definition; }
64 template<typename DefinitionT = LoggerDefinitionVersion>
65 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
66 template<typename DefinitionT = LoggerDefinitionVersion>
67 GetLoggerDefinitionVersionResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 GetLoggerDefinitionVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetVersion() const { return m_version; }
86 template<typename VersionT = Aws::String>
87 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
88 template<typename VersionT = Aws::String>
89 GetLoggerDefinitionVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 GetLoggerDefinitionVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_arn;
103 bool m_arnHasBeenSet = false;
104
105 Aws::String m_creationTimestamp;
106 bool m_creationTimestampHasBeenSet = false;
107
108 LoggerDefinitionVersion m_definition;
109 bool m_definitionHasBeenSet = false;
110
111 Aws::String m_id;
112 bool m_idHasBeenSet = false;
113
114 Aws::String m_version;
115 bool m_versionHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Greengrass
123} // namespace Aws
AWS_GREENGRASS_API GetLoggerDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggerDefinitionVersionResult & WithRequestId(RequestIdT &&value)
GetLoggerDefinitionVersionResult & WithVersion(VersionT &&value)
GetLoggerDefinitionVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
AWS_GREENGRASS_API GetLoggerDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggerDefinitionVersionResult & WithDefinition(DefinitionT &&value)
AWS_GREENGRASS_API GetLoggerDefinitionVersionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue