AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCommandInvocationRequest.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 <utility>
11
12namespace Aws
13{
14namespace SSM
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetCommandInvocation"; }
31
32 AWS_SSM_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetCommandId() const{ return m_commandId; }
42 inline bool CommandIdHasBeenSet() const { return m_commandIdHasBeenSet; }
43 inline void SetCommandId(const Aws::String& value) { m_commandIdHasBeenSet = true; m_commandId = value; }
44 inline void SetCommandId(Aws::String&& value) { m_commandIdHasBeenSet = true; m_commandId = std::move(value); }
45 inline void SetCommandId(const char* value) { m_commandIdHasBeenSet = true; m_commandId.assign(value); }
46 inline GetCommandInvocationRequest& WithCommandId(const Aws::String& value) { SetCommandId(value); return *this;}
47 inline GetCommandInvocationRequest& WithCommandId(Aws::String&& value) { SetCommandId(std::move(value)); return *this;}
48 inline GetCommandInvocationRequest& WithCommandId(const char* value) { SetCommandId(value); return *this;}
50
52
58 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
59 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
60 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
61 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
62 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
63 inline GetCommandInvocationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
64 inline GetCommandInvocationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
65 inline GetCommandInvocationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
67
69
81 inline const Aws::String& GetPluginName() const{ return m_pluginName; }
82 inline bool PluginNameHasBeenSet() const { return m_pluginNameHasBeenSet; }
83 inline void SetPluginName(const Aws::String& value) { m_pluginNameHasBeenSet = true; m_pluginName = value; }
84 inline void SetPluginName(Aws::String&& value) { m_pluginNameHasBeenSet = true; m_pluginName = std::move(value); }
85 inline void SetPluginName(const char* value) { m_pluginNameHasBeenSet = true; m_pluginName.assign(value); }
86 inline GetCommandInvocationRequest& WithPluginName(const Aws::String& value) { SetPluginName(value); return *this;}
87 inline GetCommandInvocationRequest& WithPluginName(Aws::String&& value) { SetPluginName(std::move(value)); return *this;}
88 inline GetCommandInvocationRequest& WithPluginName(const char* value) { SetPluginName(value); return *this;}
90 private:
91
92 Aws::String m_commandId;
93 bool m_commandIdHasBeenSet = false;
94
95 Aws::String m_instanceId;
96 bool m_instanceIdHasBeenSet = false;
97
98 Aws::String m_pluginName;
99 bool m_pluginNameHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SSM
104} // namespace Aws
GetCommandInvocationRequest & WithPluginName(const Aws::String &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetCommandInvocationRequest & WithInstanceId(Aws::String &&value)
GetCommandInvocationRequest & WithPluginName(Aws::String &&value)
GetCommandInvocationRequest & WithCommandId(Aws::String &&value)
GetCommandInvocationRequest & WithInstanceId(const Aws::String &value)
GetCommandInvocationRequest & WithPluginName(const char *value)
GetCommandInvocationRequest & WithInstanceId(const char *value)
GetCommandInvocationRequest & WithCommandId(const char *value)
GetCommandInvocationRequest & WithCommandId(const Aws::String &value)
AWS_SSM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String