AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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 UpdateResourceDataSyncRequest& WithSyncName(const Aws::String& value) { SetSyncName(value); return *this;}
48 inline UpdateResourceDataSyncRequest& WithSyncName(Aws::String&& value) { SetSyncName(std::move(value)); return *this;}
49 inline UpdateResourceDataSyncRequest& WithSyncName(const char* value) { SetSyncName(value); return *this;}
51
53
57 inline const Aws::String& GetSyncType() const{ return m_syncType; }
58 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
59 inline void SetSyncType(const Aws::String& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
60 inline void SetSyncType(Aws::String&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
61 inline void SetSyncType(const char* value) { m_syncTypeHasBeenSet = true; m_syncType.assign(value); }
62 inline UpdateResourceDataSyncRequest& WithSyncType(const Aws::String& value) { SetSyncType(value); return *this;}
63 inline UpdateResourceDataSyncRequest& WithSyncType(Aws::String&& value) { SetSyncType(std::move(value)); return *this;}
64 inline UpdateResourceDataSyncRequest& WithSyncType(const char* value) { SetSyncType(value); return *this;}
66
68
71 inline const ResourceDataSyncSource& GetSyncSource() const{ return m_syncSource; }
72 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
73 inline void SetSyncSource(const ResourceDataSyncSource& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; }
74 inline void SetSyncSource(ResourceDataSyncSource&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); }
76 inline UpdateResourceDataSyncRequest& WithSyncSource(ResourceDataSyncSource&& value) { SetSyncSource(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_syncName;
81 bool m_syncNameHasBeenSet = false;
82
83 Aws::String m_syncType;
84 bool m_syncTypeHasBeenSet = false;
85
86 ResourceDataSyncSource m_syncSource;
87 bool m_syncSourceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SSM
92} // namespace Aws
UpdateResourceDataSyncRequest & WithSyncType(const char *value)
UpdateResourceDataSyncRequest & WithSyncName(Aws::String &&value)
UpdateResourceDataSyncRequest & WithSyncType(const Aws::String &value)
UpdateResourceDataSyncRequest & WithSyncSource(ResourceDataSyncSource &&value)
UpdateResourceDataSyncRequest & WithSyncName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateResourceDataSyncRequest & WithSyncSource(const ResourceDataSyncSource &value)
void SetSyncSource(const ResourceDataSyncSource &value)
UpdateResourceDataSyncRequest & WithSyncType(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateResourceDataSyncRequest & WithSyncName(const char *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