AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAssociationRequest.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 "DescribeAssociation"; }
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 DescribeAssociationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline DescribeAssociationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline DescribeAssociationRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
56 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
57 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
60 inline DescribeAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
61 inline DescribeAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
62 inline DescribeAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
64
66
69 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
70 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
71 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
72 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
73 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
74 inline DescribeAssociationRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
75 inline DescribeAssociationRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
76 inline DescribeAssociationRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
78
80
87 inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; }
88 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
89 inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; }
90 inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); }
91 inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); }
93 inline DescribeAssociationRequest& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;}
94 inline DescribeAssociationRequest& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;}
96 private:
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_instanceId;
102 bool m_instanceIdHasBeenSet = false;
103
104 Aws::String m_associationId;
105 bool m_associationIdHasBeenSet = false;
106
107 Aws::String m_associationVersion;
108 bool m_associationVersionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SSM
113} // namespace Aws
DescribeAssociationRequest & WithName(const Aws::String &value)
DescribeAssociationRequest & WithInstanceId(Aws::String &&value)
DescribeAssociationRequest & WithAssociationId(const char *value)
DescribeAssociationRequest & WithAssociationId(Aws::String &&value)
DescribeAssociationRequest & WithInstanceId(const char *value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAssociationRequest & WithAssociationVersion(Aws::String &&value)
DescribeAssociationRequest & WithAssociationVersion(const Aws::String &value)
DescribeAssociationRequest & WithName(const char *value)
DescribeAssociationRequest & WithAssociationId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_API Aws::String SerializePayload() const override
DescribeAssociationRequest & WithInstanceId(const Aws::String &value)
DescribeAssociationRequest & WithName(Aws::String &&value)
DescribeAssociationRequest & WithAssociationVersion(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String