AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxChangesetRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/model/ChangeRequest.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace finspace
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_FINSPACE_API CreateKxChangesetRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateKxChangeset"; }
34
35 AWS_FINSPACE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
43 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
44 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
45 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
46 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
47 inline CreateKxChangesetRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
48 inline CreateKxChangesetRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
49 inline CreateKxChangesetRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
51
53
56 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
61 inline CreateKxChangesetRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline CreateKxChangesetRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline CreateKxChangesetRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65
67
97 inline const Aws::Vector<ChangeRequest>& GetChangeRequests() const{ return m_changeRequests; }
98 inline bool ChangeRequestsHasBeenSet() const { return m_changeRequestsHasBeenSet; }
99 inline void SetChangeRequests(const Aws::Vector<ChangeRequest>& value) { m_changeRequestsHasBeenSet = true; m_changeRequests = value; }
100 inline void SetChangeRequests(Aws::Vector<ChangeRequest>&& value) { m_changeRequestsHasBeenSet = true; m_changeRequests = std::move(value); }
103 inline CreateKxChangesetRequest& AddChangeRequests(const ChangeRequest& value) { m_changeRequestsHasBeenSet = true; m_changeRequests.push_back(value); return *this; }
104 inline CreateKxChangesetRequest& AddChangeRequests(ChangeRequest&& value) { m_changeRequestsHasBeenSet = true; m_changeRequests.push_back(std::move(value)); return *this; }
106
108
111 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
112 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
113 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
114 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
115 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
116 inline CreateKxChangesetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
117 inline CreateKxChangesetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
118 inline CreateKxChangesetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
120 private:
121
122 Aws::String m_environmentId;
123 bool m_environmentIdHasBeenSet = false;
124
125 Aws::String m_databaseName;
126 bool m_databaseNameHasBeenSet = false;
127
128 Aws::Vector<ChangeRequest> m_changeRequests;
129 bool m_changeRequestsHasBeenSet = false;
130
131 Aws::String m_clientToken;
132 bool m_clientTokenHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace finspace
137} // namespace Aws
CreateKxChangesetRequest & WithClientToken(Aws::String &&value)
CreateKxChangesetRequest & WithChangeRequests(Aws::Vector< ChangeRequest > &&value)
CreateKxChangesetRequest & WithClientToken(const char *value)
CreateKxChangesetRequest & WithEnvironmentId(Aws::String &&value)
CreateKxChangesetRequest & WithEnvironmentId(const char *value)
CreateKxChangesetRequest & AddChangeRequests(const ChangeRequest &value)
void SetChangeRequests(const Aws::Vector< ChangeRequest > &value)
CreateKxChangesetRequest & WithEnvironmentId(const Aws::String &value)
CreateKxChangesetRequest & WithDatabaseName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateKxChangesetRequest & AddChangeRequests(ChangeRequest &&value)
void SetChangeRequests(Aws::Vector< ChangeRequest > &&value)
CreateKxChangesetRequest & WithDatabaseName(const Aws::String &value)
CreateKxChangesetRequest & WithDatabaseName(const char *value)
CreateKxChangesetRequest & WithChangeRequests(const Aws::Vector< ChangeRequest > &value)
const Aws::Vector< ChangeRequest > & GetChangeRequests() const
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxChangesetRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector