AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ResourceDataSyncNotFoundException.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SSM_API ResourceDataSyncNotFoundException() = default;
38
39
41
42 inline const Aws::String& GetSyncName() const { return m_syncName; }
43 inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
44 template<typename SyncNameT = Aws::String>
45 void SetSyncName(SyncNameT&& value) { m_syncNameHasBeenSet = true; m_syncName = std::forward<SyncNameT>(value); }
46 template<typename SyncNameT = Aws::String>
47 ResourceDataSyncNotFoundException& WithSyncName(SyncNameT&& value) { SetSyncName(std::forward<SyncNameT>(value)); return *this;}
49
51
52 inline const Aws::String& GetSyncType() const { return m_syncType; }
53 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
54 template<typename SyncTypeT = Aws::String>
55 void SetSyncType(SyncTypeT&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::forward<SyncTypeT>(value); }
56 template<typename SyncTypeT = Aws::String>
57 ResourceDataSyncNotFoundException& WithSyncType(SyncTypeT&& value) { SetSyncType(std::forward<SyncTypeT>(value)); return *this;}
59
61
62 inline const Aws::String& GetMessage() const { return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 template<typename MessageT = Aws::String>
65 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
66 template<typename MessageT = Aws::String>
67 ResourceDataSyncNotFoundException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
69 private:
70
71 Aws::String m_syncName;
72 bool m_syncNameHasBeenSet = false;
73
74 Aws::String m_syncType;
75 bool m_syncTypeHasBeenSet = false;
76
77 Aws::String m_message;
78 bool m_messageHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SSM
83} // namespace Aws
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataSyncNotFoundException & WithMessage(MessageT &&value)
ResourceDataSyncNotFoundException & WithSyncType(SyncTypeT &&value)
ResourceDataSyncNotFoundException & WithSyncName(SyncNameT &&value)
AWS_SSM_API ResourceDataSyncNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API ResourceDataSyncNotFoundException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue