AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateResourceDataSyncRequest.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/ResourceDataSyncS3Destination.h>
11#include <aws/ssm/model/ResourceDataSyncSource.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSM
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateResourceDataSync"; }
33
34 AWS_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetSyncName() const{ return m_syncName; }
44 inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
45 inline void SetSyncName(const Aws::String& value) { m_syncNameHasBeenSet = true; m_syncName = value; }
46 inline void SetSyncName(Aws::String&& value) { m_syncNameHasBeenSet = true; m_syncName = std::move(value); }
47 inline void SetSyncName(const char* value) { m_syncNameHasBeenSet = true; m_syncName.assign(value); }
48 inline CreateResourceDataSyncRequest& WithSyncName(const Aws::String& value) { SetSyncName(value); return *this;}
49 inline CreateResourceDataSyncRequest& WithSyncName(Aws::String&& value) { SetSyncName(std::move(value)); return *this;}
50 inline CreateResourceDataSyncRequest& WithSyncName(const char* value) { SetSyncName(value); return *this;}
52
54
58 inline const ResourceDataSyncS3Destination& GetS3Destination() const{ return m_s3Destination; }
59 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
60 inline void SetS3Destination(const ResourceDataSyncS3Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
61 inline void SetS3Destination(ResourceDataSyncS3Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
65
67
78 inline const Aws::String& GetSyncType() const{ return m_syncType; }
79 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
80 inline void SetSyncType(const Aws::String& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
81 inline void SetSyncType(Aws::String&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
82 inline void SetSyncType(const char* value) { m_syncTypeHasBeenSet = true; m_syncType.assign(value); }
83 inline CreateResourceDataSyncRequest& WithSyncType(const Aws::String& value) { SetSyncType(value); return *this;}
84 inline CreateResourceDataSyncRequest& WithSyncType(Aws::String&& value) { SetSyncType(std::move(value)); return *this;}
85 inline CreateResourceDataSyncRequest& WithSyncType(const char* value) { SetSyncType(value); return *this;}
87
89
93 inline const ResourceDataSyncSource& GetSyncSource() const{ return m_syncSource; }
94 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
95 inline void SetSyncSource(const ResourceDataSyncSource& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; }
96 inline void SetSyncSource(ResourceDataSyncSource&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); }
98 inline CreateResourceDataSyncRequest& WithSyncSource(ResourceDataSyncSource&& value) { SetSyncSource(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_syncName;
103 bool m_syncNameHasBeenSet = false;
104
105 ResourceDataSyncS3Destination m_s3Destination;
106 bool m_s3DestinationHasBeenSet = false;
107
108 Aws::String m_syncType;
109 bool m_syncTypeHasBeenSet = false;
110
111 ResourceDataSyncSource m_syncSource;
112 bool m_syncSourceHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SSM
117} // namespace Aws
void SetS3Destination(const ResourceDataSyncS3Destination &value)
CreateResourceDataSyncRequest & WithSyncName(const Aws::String &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateResourceDataSyncRequest & WithSyncType(Aws::String &&value)
CreateResourceDataSyncRequest & WithSyncSource(ResourceDataSyncSource &&value)
virtual const char * GetServiceRequestName() const override
const ResourceDataSyncS3Destination & GetS3Destination() const
CreateResourceDataSyncRequest & WithS3Destination(ResourceDataSyncS3Destination &&value)
CreateResourceDataSyncRequest & WithSyncType(const Aws::String &value)
CreateResourceDataSyncRequest & WithSyncName(Aws::String &&value)
CreateResourceDataSyncRequest & WithSyncName(const char *value)
CreateResourceDataSyncRequest & WithS3Destination(const ResourceDataSyncS3Destination &value)
AWS_SSM_API Aws::String SerializePayload() const override
CreateResourceDataSyncRequest & WithSyncSource(const ResourceDataSyncSource &value)
void SetSyncSource(const ResourceDataSyncSource &value)
CreateResourceDataSyncRequest & WithSyncType(const char *value)
void SetS3Destination(ResourceDataSyncS3Destination &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String