AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAssociationRequest.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 "DeleteAssociation"; }
31
32 AWS_SSM_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline DeleteAssociationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline DeleteAssociationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline DeleteAssociationRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
64 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
65 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
66 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
67 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
68 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
69 inline DeleteAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 inline DeleteAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
71 inline DeleteAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
73
75
78 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
79 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
80 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
81 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
82 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
83 inline DeleteAssociationRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
84 inline DeleteAssociationRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
85 inline DeleteAssociationRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
87 private:
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
92 Aws::String m_instanceId;
93 bool m_instanceIdHasBeenSet = false;
94
95 Aws::String m_associationId;
96 bool m_associationIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
DeleteAssociationRequest & WithAssociationId(const char *value)
DeleteAssociationRequest & WithInstanceId(const char *value)
DeleteAssociationRequest & WithInstanceId(const Aws::String &value)
DeleteAssociationRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_API Aws::String SerializePayload() const override
DeleteAssociationRequest & WithInstanceId(Aws::String &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAssociationRequest & WithAssociationId(Aws::String &&value)
DeleteAssociationRequest & WithName(const Aws::String &value)
DeleteAssociationRequest & WithName(const char *value)
DeleteAssociationRequest & WithAssociationId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String