AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38
39
41
42 inline const Aws::String& GetSyncName() const{ return m_syncName; }
43 inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
44 inline void SetSyncName(const Aws::String& value) { m_syncNameHasBeenSet = true; m_syncName = value; }
45 inline void SetSyncName(Aws::String&& value) { m_syncNameHasBeenSet = true; m_syncName = std::move(value); }
46 inline void SetSyncName(const char* value) { m_syncNameHasBeenSet = true; m_syncName.assign(value); }
47 inline ResourceDataSyncNotFoundException& WithSyncName(const Aws::String& value) { SetSyncName(value); return *this;}
48 inline ResourceDataSyncNotFoundException& WithSyncName(Aws::String&& value) { SetSyncName(std::move(value)); return *this;}
49 inline ResourceDataSyncNotFoundException& WithSyncName(const char* value) { SetSyncName(value); return *this;}
51
53
54 inline const Aws::String& GetSyncType() const{ return m_syncType; }
55 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
56 inline void SetSyncType(const Aws::String& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
57 inline void SetSyncType(Aws::String&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
58 inline void SetSyncType(const char* value) { m_syncTypeHasBeenSet = true; m_syncType.assign(value); }
59 inline ResourceDataSyncNotFoundException& WithSyncType(const Aws::String& value) { SetSyncType(value); return *this;}
60 inline ResourceDataSyncNotFoundException& WithSyncType(Aws::String&& value) { SetSyncType(std::move(value)); return *this;}
61 inline ResourceDataSyncNotFoundException& WithSyncType(const char* value) { SetSyncType(value); return *this;}
63
65
66 inline const Aws::String& GetMessage() const{ return m_message; }
67 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
68 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
69 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
70 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
71 inline ResourceDataSyncNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
72 inline ResourceDataSyncNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
73 inline ResourceDataSyncNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;}
75 private:
76
77 Aws::String m_syncName;
78 bool m_syncNameHasBeenSet = false;
79
80 Aws::String m_syncType;
81 bool m_syncTypeHasBeenSet = false;
82
83 Aws::String m_message;
84 bool m_messageHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SSM
89} // namespace Aws
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataSyncNotFoundException & WithMessage(Aws::String &&value)
ResourceDataSyncNotFoundException & WithSyncName(const char *value)
ResourceDataSyncNotFoundException & WithSyncType(Aws::String &&value)
AWS_SSM_API ResourceDataSyncNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncNotFoundException & WithMessage(const Aws::String &value)
ResourceDataSyncNotFoundException & WithMessage(const char *value)
ResourceDataSyncNotFoundException & WithSyncType(const Aws::String &value)
ResourceDataSyncNotFoundException & WithSyncName(const Aws::String &value)
ResourceDataSyncNotFoundException & WithSyncType(const char *value)
AWS_SSM_API ResourceDataSyncNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncNotFoundException & WithSyncName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue