AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssociationStatusRequest.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 <aws/ssm/model/AssociationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
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 "UpdateAssociationStatus"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline UpdateAssociationStatusRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline UpdateAssociationStatusRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline UpdateAssociationStatusRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
57 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
58 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
59 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
61 inline UpdateAssociationStatusRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
62 inline UpdateAssociationStatusRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
63 inline UpdateAssociationStatusRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
65
67
70 inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
71 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
72 inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
73 inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::String m_instanceId;
83 bool m_instanceIdHasBeenSet = false;
84
85 AssociationStatus m_associationStatus;
86 bool m_associationStatusHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SSM
91} // namespace Aws
UpdateAssociationStatusRequest & WithInstanceId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateAssociationStatusRequest & WithName(const char *value)
UpdateAssociationStatusRequest & WithAssociationStatus(AssociationStatus &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAssociationStatusRequest & WithInstanceId(const Aws::String &value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateAssociationStatusRequest & WithName(Aws::String &&value)
UpdateAssociationStatusRequest & WithName(const Aws::String &value)
UpdateAssociationStatusRequest & WithInstanceId(Aws::String &&value)
UpdateAssociationStatusRequest & WithAssociationStatus(const AssociationStatus &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String