AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CompatibilityInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NovaAct {
21namespace Model {
22
30 public:
31 AWS_NOVAACT_API CompatibilityInformation() = default;
34 AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetClientCompatibilityVersion() const { return m_clientCompatibilityVersion; }
41 inline bool ClientCompatibilityVersionHasBeenSet() const { return m_clientCompatibilityVersionHasBeenSet; }
42 inline void SetClientCompatibilityVersion(int value) {
43 m_clientCompatibilityVersionHasBeenSet = true;
44 m_clientCompatibilityVersion = value;
45 }
48 return *this;
49 }
51
53
57 inline const Aws::Vector<Aws::String>& GetSupportedModelIds() const { return m_supportedModelIds; }
58 inline bool SupportedModelIdsHasBeenSet() const { return m_supportedModelIdsHasBeenSet; }
59 template <typename SupportedModelIdsT = Aws::Vector<Aws::String>>
60 void SetSupportedModelIds(SupportedModelIdsT&& value) {
61 m_supportedModelIdsHasBeenSet = true;
62 m_supportedModelIds = std::forward<SupportedModelIdsT>(value);
63 }
64 template <typename SupportedModelIdsT = Aws::Vector<Aws::String>>
65 CompatibilityInformation& WithSupportedModelIds(SupportedModelIdsT&& value) {
66 SetSupportedModelIds(std::forward<SupportedModelIdsT>(value));
67 return *this;
68 }
69 template <typename SupportedModelIdsT = Aws::String>
70 CompatibilityInformation& AddSupportedModelIds(SupportedModelIdsT&& value) {
71 m_supportedModelIdsHasBeenSet = true;
72 m_supportedModelIds.emplace_back(std::forward<SupportedModelIdsT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetMessage() const { return m_message; }
83 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
84 template <typename MessageT = Aws::String>
85 void SetMessage(MessageT&& value) {
86 m_messageHasBeenSet = true;
87 m_message = std::forward<MessageT>(value);
88 }
89 template <typename MessageT = Aws::String>
91 SetMessage(std::forward<MessageT>(value));
92 return *this;
93 }
95 private:
96 int m_clientCompatibilityVersion{0};
97
98 Aws::Vector<Aws::String> m_supportedModelIds;
99
100 Aws::String m_message;
101 bool m_clientCompatibilityVersionHasBeenSet = false;
102 bool m_supportedModelIdsHasBeenSet = false;
103 bool m_messageHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace NovaAct
108} // namespace Aws
const Aws::Vector< Aws::String > & GetSupportedModelIds() const
CompatibilityInformation & AddSupportedModelIds(SupportedModelIdsT &&value)
CompatibilityInformation & WithMessage(MessageT &&value)
AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOVAACT_API CompatibilityInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
CompatibilityInformation & WithSupportedModelIds(SupportedModelIdsT &&value)
AWS_NOVAACT_API CompatibilityInformation()=default
CompatibilityInformation & WithClientCompatibilityVersion(int value)
AWS_NOVAACT_API CompatibilityInformation(Aws::Utils::Json::JsonView jsonValue)
void SetSupportedModelIds(SupportedModelIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue