AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationSetRequest.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm-incidents/model/UpdateReplicationSetAction.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace SSMIncidents
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SSMINCIDENTS_API UpdateReplicationSetRequest();
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 "UpdateReplicationSet"; }
34
35 AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::Vector<UpdateReplicationSetAction>& GetActions() const{ return m_actions; }
43 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
44 inline void SetActions(const Aws::Vector<UpdateReplicationSetAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
45 inline void SetActions(Aws::Vector<UpdateReplicationSetAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
48 inline UpdateReplicationSetRequest& AddActions(const UpdateReplicationSetAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
49 inline UpdateReplicationSetRequest& AddActions(UpdateReplicationSetAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
61 inline UpdateReplicationSetRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline UpdateReplicationSetRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline UpdateReplicationSetRequest& WithArn(const char* value) { SetArn(value); return *this;}
65
67
71 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
74 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76 inline UpdateReplicationSetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
77 inline UpdateReplicationSetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
78 inline UpdateReplicationSetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
80 private:
81
83 bool m_actionsHasBeenSet = false;
84
85 Aws::String m_arn;
86 bool m_arnHasBeenSet = false;
87
88 Aws::String m_clientToken;
89 bool m_clientTokenHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSMIncidents
94} // namespace Aws
UpdateReplicationSetRequest & AddActions(const UpdateReplicationSetAction &value)
UpdateReplicationSetRequest & WithClientToken(const Aws::String &value)
void SetActions(const Aws::Vector< UpdateReplicationSetAction > &value)
UpdateReplicationSetRequest & WithClientToken(Aws::String &&value)
const Aws::Vector< UpdateReplicationSetAction > & GetActions() const
UpdateReplicationSetRequest & WithArn(const char *value)
UpdateReplicationSetRequest & WithActions(const Aws::Vector< UpdateReplicationSetAction > &value)
UpdateReplicationSetRequest & WithClientToken(const char *value)
UpdateReplicationSetRequest & WithActions(Aws::Vector< UpdateReplicationSetAction > &&value)
UpdateReplicationSetRequest & WithArn(const Aws::String &value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
void SetActions(Aws::Vector< UpdateReplicationSetAction > &&value)
UpdateReplicationSetRequest & WithArn(Aws::String &&value)
UpdateReplicationSetRequest & AddActions(UpdateReplicationSetAction &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector