AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DashboardValidationMessage.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace CloudWatch {
20namespace Model {
21
28 public:
29 AWS_CLOUDWATCH_API DashboardValidationMessage() = default;
30 AWS_CLOUDWATCH_API DashboardValidationMessage(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_CLOUDWATCH_API DashboardValidationMessage& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const Aws::String& GetDataPath() const { return m_dataPath; }
39 inline bool DataPathHasBeenSet() const { return m_dataPathHasBeenSet; }
40 template <typename DataPathT = Aws::String>
41 void SetDataPath(DataPathT&& value) {
42 m_dataPathHasBeenSet = true;
43 m_dataPath = std::forward<DataPathT>(value);
44 }
45 template <typename DataPathT = Aws::String>
47 SetDataPath(std::forward<DataPathT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetMessage() const { return m_message; }
57 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
58 template <typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) {
60 m_messageHasBeenSet = true;
61 m_message = std::forward<MessageT>(value);
62 }
63 template <typename MessageT = Aws::String>
65 SetMessage(std::forward<MessageT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_dataPath;
71
72 Aws::String m_message;
73 bool m_dataPathHasBeenSet = false;
74 bool m_messageHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CloudWatch
79} // namespace Aws
DashboardValidationMessage & WithDataPath(DataPathT &&value)
AWS_CLOUDWATCH_API DashboardValidationMessage & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCH_API DashboardValidationMessage(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DashboardValidationMessage & WithMessage(MessageT &&value)
AWS_CLOUDWATCH_API DashboardValidationMessage()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String