AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateResourceDataSyncRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/ResourceDataSyncSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSM_API UpdateResourceDataSyncRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourceDataSync"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
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 UpdateResourceDataSyncRequest& WithSyncName(SyncNameT&& value) { SetSyncName(std::forward<SyncNameT>(value)); return *this;}
49
51
55 inline const Aws::String& GetSyncType() const { return m_syncType; }
56 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
57 template<typename SyncTypeT = Aws::String>
58 void SetSyncType(SyncTypeT&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::forward<SyncTypeT>(value); }
59 template<typename SyncTypeT = Aws::String>
60 UpdateResourceDataSyncRequest& WithSyncType(SyncTypeT&& value) { SetSyncType(std::forward<SyncTypeT>(value)); return *this;}
62
64
67 inline const ResourceDataSyncSource& GetSyncSource() const { return m_syncSource; }
68 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
69 template<typename SyncSourceT = ResourceDataSyncSource>
70 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::forward<SyncSourceT>(value); }
71 template<typename SyncSourceT = ResourceDataSyncSource>
72 UpdateResourceDataSyncRequest& WithSyncSource(SyncSourceT&& value) { SetSyncSource(std::forward<SyncSourceT>(value)); return *this;}
74 private:
75
76 Aws::String m_syncName;
77 bool m_syncNameHasBeenSet = false;
78
79 Aws::String m_syncType;
80 bool m_syncTypeHasBeenSet = false;
81
82 ResourceDataSyncSource m_syncSource;
83 bool m_syncSourceHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SSM
88} // 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