AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
FrameworkSummary.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/FrameworkType.h>
9#include <aws/assurance/model/ReleaseStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace Assurance {
22namespace Model {
23
30 public:
31 AWS_ASSURANCE_API FrameworkSummary() = default;
32 AWS_ASSURANCE_API FrameworkSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API FrameworkSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline FrameworkType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 inline void SetType(FrameworkType value) {
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFramework() const { return m_framework; }
57 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
58 template <typename FrameworkT = Aws::String>
59 void SetFramework(FrameworkT&& value) {
60 m_frameworkHasBeenSet = true;
61 m_framework = std::forward<FrameworkT>(value);
62 }
63 template <typename FrameworkT = Aws::String>
64 FrameworkSummary& WithFramework(FrameworkT&& value) {
65 SetFramework(std::forward<FrameworkT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetEnvironment() const { return m_environment; }
75 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
76 template <typename EnvironmentT = Aws::String>
77 void SetEnvironment(EnvironmentT&& value) {
78 m_environmentHasBeenSet = true;
79 m_environment = std::forward<EnvironmentT>(value);
80 }
81 template <typename EnvironmentT = Aws::String>
82 FrameworkSummary& WithEnvironment(EnvironmentT&& value) {
83 SetEnvironment(std::forward<EnvironmentT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
93 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
94 template <typename FrameworkVersionT = Aws::String>
95 void SetFrameworkVersion(FrameworkVersionT&& value) {
96 m_frameworkVersionHasBeenSet = true;
97 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
98 }
99 template <typename FrameworkVersionT = Aws::String>
100 FrameworkSummary& WithFrameworkVersion(FrameworkVersionT&& value) {
101 SetFrameworkVersion(std::forward<FrameworkVersionT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetTitle() const { return m_title; }
111 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
112 template <typename TitleT = Aws::String>
113 void SetTitle(TitleT&& value) {
114 m_titleHasBeenSet = true;
115 m_title = std::forward<TitleT>(value);
116 }
117 template <typename TitleT = Aws::String>
118 FrameworkSummary& WithTitle(TitleT&& value) {
119 SetTitle(std::forward<TitleT>(value));
120 return *this;
121 }
123
125
128 inline ReleaseStatus GetStatus() const { return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(ReleaseStatus value) {
131 m_statusHasBeenSet = true;
132 m_status = value;
133 }
135 SetStatus(value);
136 return *this;
137 }
139 private:
141
142 Aws::String m_framework;
143
144 Aws::String m_environment;
145
146 Aws::String m_frameworkVersion;
147
148 Aws::String m_title;
149
151 bool m_typeHasBeenSet = false;
152 bool m_frameworkHasBeenSet = false;
153 bool m_environmentHasBeenSet = false;
154 bool m_frameworkVersionHasBeenSet = false;
155 bool m_titleHasBeenSet = false;
156 bool m_statusHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace Assurance
161} // namespace Aws
FrameworkSummary & WithFramework(FrameworkT &&value)
const Aws::String & GetFramework() const
AWS_ASSURANCE_API FrameworkSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetEnvironment(EnvironmentT &&value)
void SetFrameworkVersion(FrameworkVersionT &&value)
FrameworkSummary & WithType(FrameworkType value)
FrameworkSummary & WithStatus(ReleaseStatus value)
FrameworkSummary & WithTitle(TitleT &&value)
FrameworkSummary & WithFrameworkVersion(FrameworkVersionT &&value)
const Aws::String & GetEnvironment() const
FrameworkSummary & WithEnvironment(EnvironmentT &&value)
AWS_ASSURANCE_API FrameworkSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API FrameworkSummary()=default
const Aws::String & GetFrameworkVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String