AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationJobRequest.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sms/model/LicenseType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SMS
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 "UpdateReplicationJob"; }
33
34 AWS_SMS_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetReplicationJobId() const{ return m_replicationJobId; }
44 inline bool ReplicationJobIdHasBeenSet() const { return m_replicationJobIdHasBeenSet; }
45 inline void SetReplicationJobId(const Aws::String& value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId = value; }
46 inline void SetReplicationJobId(Aws::String&& value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId = std::move(value); }
47 inline void SetReplicationJobId(const char* value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId.assign(value); }
49 inline UpdateReplicationJobRequest& WithReplicationJobId(Aws::String&& value) { SetReplicationJobId(std::move(value)); return *this;}
50 inline UpdateReplicationJobRequest& WithReplicationJobId(const char* value) { SetReplicationJobId(value); return *this;}
52
54
57 inline int GetFrequency() const{ return m_frequency; }
58 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
59 inline void SetFrequency(int value) { m_frequencyHasBeenSet = true; m_frequency = value; }
60 inline UpdateReplicationJobRequest& WithFrequency(int value) { SetFrequency(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetNextReplicationRunStartTime() const{ return m_nextReplicationRunStartTime; }
68 inline bool NextReplicationRunStartTimeHasBeenSet() const { return m_nextReplicationRunStartTimeHasBeenSet; }
69 inline void SetNextReplicationRunStartTime(const Aws::Utils::DateTime& value) { m_nextReplicationRunStartTimeHasBeenSet = true; m_nextReplicationRunStartTime = value; }
70 inline void SetNextReplicationRunStartTime(Aws::Utils::DateTime&& value) { m_nextReplicationRunStartTimeHasBeenSet = true; m_nextReplicationRunStartTime = std::move(value); }
74
76
80 inline const LicenseType& GetLicenseType() const{ return m_licenseType; }
81 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
82 inline void SetLicenseType(const LicenseType& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
83 inline void SetLicenseType(LicenseType&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); }
84 inline UpdateReplicationJobRequest& WithLicenseType(const LicenseType& value) { SetLicenseType(value); return *this;}
85 inline UpdateReplicationJobRequest& WithLicenseType(LicenseType&& value) { SetLicenseType(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetRoleName() const{ return m_roleName; }
93 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
94 inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
95 inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
96 inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
97 inline UpdateReplicationJobRequest& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
98 inline UpdateReplicationJobRequest& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
99 inline UpdateReplicationJobRequest& WithRoleName(const char* value) { SetRoleName(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline UpdateReplicationJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline UpdateReplicationJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline UpdateReplicationJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
121 inline int GetNumberOfRecentAmisToKeep() const{ return m_numberOfRecentAmisToKeep; }
122 inline bool NumberOfRecentAmisToKeepHasBeenSet() const { return m_numberOfRecentAmisToKeepHasBeenSet; }
123 inline void SetNumberOfRecentAmisToKeep(int value) { m_numberOfRecentAmisToKeepHasBeenSet = true; m_numberOfRecentAmisToKeep = value; }
126
128
132 inline bool GetEncrypted() const{ return m_encrypted; }
133 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
134 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
135 inline UpdateReplicationJobRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
137
139
147 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
148 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
149 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
150 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
151 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
152 inline UpdateReplicationJobRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
153 inline UpdateReplicationJobRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
154 inline UpdateReplicationJobRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
156 private:
157
158 Aws::String m_replicationJobId;
159 bool m_replicationJobIdHasBeenSet = false;
160
161 int m_frequency;
162 bool m_frequencyHasBeenSet = false;
163
164 Aws::Utils::DateTime m_nextReplicationRunStartTime;
165 bool m_nextReplicationRunStartTimeHasBeenSet = false;
166
167 LicenseType m_licenseType;
168 bool m_licenseTypeHasBeenSet = false;
169
170 Aws::String m_roleName;
171 bool m_roleNameHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 int m_numberOfRecentAmisToKeep;
177 bool m_numberOfRecentAmisToKeepHasBeenSet = false;
178
179 bool m_encrypted;
180 bool m_encryptedHasBeenSet = false;
181
182 Aws::String m_kmsKeyId;
183 bool m_kmsKeyIdHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace SMS
188} // namespace Aws
const Aws::Utils::DateTime & GetNextReplicationRunStartTime() const
UpdateReplicationJobRequest & WithKmsKeyId(const char *value)
UpdateReplicationJobRequest & WithNextReplicationRunStartTime(Aws::Utils::DateTime &&value)
UpdateReplicationJobRequest & WithDescription(const char *value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateReplicationJobRequest & WithKmsKeyId(Aws::String &&value)
UpdateReplicationJobRequest & WithReplicationJobId(const char *value)
UpdateReplicationJobRequest & WithEncrypted(bool value)
UpdateReplicationJobRequest & WithFrequency(int value)
UpdateReplicationJobRequest & WithReplicationJobId(Aws::String &&value)
void SetNextReplicationRunStartTime(const Aws::Utils::DateTime &value)
UpdateReplicationJobRequest & WithNextReplicationRunStartTime(const Aws::Utils::DateTime &value)
UpdateReplicationJobRequest & WithRoleName(const Aws::String &value)
UpdateReplicationJobRequest & WithLicenseType(const LicenseType &value)
AWS_SMS_API Aws::String SerializePayload() const override
UpdateReplicationJobRequest & WithLicenseType(LicenseType &&value)
UpdateReplicationJobRequest & WithDescription(Aws::String &&value)
void SetNextReplicationRunStartTime(Aws::Utils::DateTime &&value)
UpdateReplicationJobRequest & WithRoleName(const char *value)
UpdateReplicationJobRequest & WithRoleName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateReplicationJobRequest & WithNumberOfRecentAmisToKeep(int value)
UpdateReplicationJobRequest & WithKmsKeyId(const Aws::String &value)
UpdateReplicationJobRequest & WithDescription(const Aws::String &value)
UpdateReplicationJobRequest & WithReplicationJobId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String