AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectorRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/ConnectorSsmCommandConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
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 "UpdateConnector"; }
32
33 AWS_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetConnectorID() const{ return m_connectorID; }
41 inline bool ConnectorIDHasBeenSet() const { return m_connectorIDHasBeenSet; }
42 inline void SetConnectorID(const Aws::String& value) { m_connectorIDHasBeenSet = true; m_connectorID = value; }
43 inline void SetConnectorID(Aws::String&& value) { m_connectorIDHasBeenSet = true; m_connectorID = std::move(value); }
44 inline void SetConnectorID(const char* value) { m_connectorIDHasBeenSet = true; m_connectorID.assign(value); }
45 inline UpdateConnectorRequest& WithConnectorID(const Aws::String& value) { SetConnectorID(value); return *this;}
46 inline UpdateConnectorRequest& WithConnectorID(Aws::String&& value) { SetConnectorID(std::move(value)); return *this;}
47 inline UpdateConnectorRequest& WithConnectorID(const char* value) { SetConnectorID(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline UpdateConnectorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdateConnectorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdateConnectorRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const ConnectorSsmCommandConfig& GetSsmCommandConfig() const{ return m_ssmCommandConfig; }
69 inline bool SsmCommandConfigHasBeenSet() const { return m_ssmCommandConfigHasBeenSet; }
70 inline void SetSsmCommandConfig(const ConnectorSsmCommandConfig& value) { m_ssmCommandConfigHasBeenSet = true; m_ssmCommandConfig = value; }
71 inline void SetSsmCommandConfig(ConnectorSsmCommandConfig&& value) { m_ssmCommandConfigHasBeenSet = true; m_ssmCommandConfig = std::move(value); }
75 private:
76
77 Aws::String m_connectorID;
78 bool m_connectorIDHasBeenSet = false;
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 ConnectorSsmCommandConfig m_ssmCommandConfig;
84 bool m_ssmCommandConfigHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace mgn
89} // namespace Aws
const ConnectorSsmCommandConfig & GetSsmCommandConfig() const
UpdateConnectorRequest & WithName(const Aws::String &value)
UpdateConnectorRequest & WithConnectorID(const Aws::String &value)
UpdateConnectorRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateConnectorRequest & WithConnectorID(Aws::String &&value)
UpdateConnectorRequest & WithSsmCommandConfig(const ConnectorSsmCommandConfig &value)
UpdateConnectorRequest & WithName(Aws::String &&value)
AWS_MGN_API Aws::String SerializePayload() const override
void SetConnectorID(const Aws::String &value)
void SetSsmCommandConfig(ConnectorSsmCommandConfig &&value)
void SetSsmCommandConfig(const ConnectorSsmCommandConfig &value)
UpdateConnectorRequest & WithConnectorID(const char *value)
UpdateConnectorRequest & WithSsmCommandConfig(ConnectorSsmCommandConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String