AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateResourceDataSyncRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/ResourceDataSyncSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SSM {
16namespace Model {
17
21 public:
22 AWS_SSM_API UpdateResourceDataSyncRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourceDataSync"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetSyncName() const { return m_syncName; }
39 inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
40 template <typename SyncNameT = Aws::String>
41 void SetSyncName(SyncNameT&& value) {
42 m_syncNameHasBeenSet = true;
43 m_syncName = std::forward<SyncNameT>(value);
44 }
45 template <typename SyncNameT = Aws::String>
47 SetSyncName(std::forward<SyncNameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetSyncType() const { return m_syncType; }
58 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
59 template <typename SyncTypeT = Aws::String>
60 void SetSyncType(SyncTypeT&& value) {
61 m_syncTypeHasBeenSet = true;
62 m_syncType = std::forward<SyncTypeT>(value);
63 }
64 template <typename SyncTypeT = Aws::String>
66 SetSyncType(std::forward<SyncTypeT>(value));
67 return *this;
68 }
70
72
75 inline const ResourceDataSyncSource& GetSyncSource() const { return m_syncSource; }
76 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
77 template <typename SyncSourceT = ResourceDataSyncSource>
78 void SetSyncSource(SyncSourceT&& value) {
79 m_syncSourceHasBeenSet = true;
80 m_syncSource = std::forward<SyncSourceT>(value);
81 }
82 template <typename SyncSourceT = ResourceDataSyncSource>
84 SetSyncSource(std::forward<SyncSourceT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_syncName;
90
91 Aws::String m_syncType;
92
93 ResourceDataSyncSource m_syncSource;
94 bool m_syncNameHasBeenSet = false;
95 bool m_syncTypeHasBeenSet = false;
96 bool m_syncSourceHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateResourceDataSyncRequest & WithSyncName(SyncNameT &&value)
UpdateResourceDataSyncRequest & WithSyncSource(SyncSourceT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateResourceDataSyncRequest & WithSyncType(SyncTypeT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String