AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
AssociateOpsItemRelatedItemRequest.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:
24 AWS_SSM_API AssociateOpsItemRelatedItemRequest() = default;
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 "AssociateOpsItemRelatedItem"; }
31
32 AWS_SSM_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetOpsItemId() const { return m_opsItemId; }
43 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
44 template<typename OpsItemIdT = Aws::String>
45 void SetOpsItemId(OpsItemIdT&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::forward<OpsItemIdT>(value); }
46 template<typename OpsItemIdT = Aws::String>
47 AssociateOpsItemRelatedItemRequest& WithOpsItemId(OpsItemIdT&& value) { SetOpsItemId(std::forward<OpsItemIdT>(value)); return *this;}
49
51
56 inline const Aws::String& GetAssociationType() const { return m_associationType; }
57 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
58 template<typename AssociationTypeT = Aws::String>
59 void SetAssociationType(AssociationTypeT&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::forward<AssociationTypeT>(value); }
60 template<typename AssociationTypeT = Aws::String>
61 AssociateOpsItemRelatedItemRequest& WithAssociationType(AssociationTypeT&& value) { SetAssociationType(std::forward<AssociationTypeT>(value)); return *this;}
63
65
71 inline const Aws::String& GetResourceType() const { return m_resourceType; }
72 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
73 template<typename ResourceTypeT = Aws::String>
74 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
75 template<typename ResourceTypeT = Aws::String>
76 AssociateOpsItemRelatedItemRequest& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
78
80
84 inline const Aws::String& GetResourceUri() const { return m_resourceUri; }
85 inline bool ResourceUriHasBeenSet() const { return m_resourceUriHasBeenSet; }
86 template<typename ResourceUriT = Aws::String>
87 void SetResourceUri(ResourceUriT&& value) { m_resourceUriHasBeenSet = true; m_resourceUri = std::forward<ResourceUriT>(value); }
88 template<typename ResourceUriT = Aws::String>
89 AssociateOpsItemRelatedItemRequest& WithResourceUri(ResourceUriT&& value) { SetResourceUri(std::forward<ResourceUriT>(value)); return *this;}
91 private:
92
93 Aws::String m_opsItemId;
94 bool m_opsItemIdHasBeenSet = false;
95
96 Aws::String m_associationType;
97 bool m_associationTypeHasBeenSet = false;
98
99 Aws::String m_resourceType;
100 bool m_resourceTypeHasBeenSet = false;
101
102 Aws::String m_resourceUri;
103 bool m_resourceUriHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SSM
108} // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String