AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLinkRequest.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/oam/OAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/oam/model/LinkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/oam/model/ResourceType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace OAM
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_OAM_API UpdateLinkRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateLink"; }
34
35 AWS_OAM_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
45 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
46 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
47 inline UpdateLinkRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
48 inline UpdateLinkRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
49 inline UpdateLinkRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
51
53
57 inline const LinkConfiguration& GetLinkConfiguration() const{ return m_linkConfiguration; }
58 inline bool LinkConfigurationHasBeenSet() const { return m_linkConfigurationHasBeenSet; }
59 inline void SetLinkConfiguration(const LinkConfiguration& value) { m_linkConfigurationHasBeenSet = true; m_linkConfiguration = value; }
60 inline void SetLinkConfiguration(LinkConfiguration&& value) { m_linkConfigurationHasBeenSet = true; m_linkConfiguration = std::move(value); }
62 inline UpdateLinkRequest& WithLinkConfiguration(LinkConfiguration&& value) { SetLinkConfiguration(std::move(value)); return *this;}
64
66
71 inline const Aws::Vector<ResourceType>& GetResourceTypes() const{ return m_resourceTypes; }
72 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
73 inline void SetResourceTypes(const Aws::Vector<ResourceType>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
74 inline void SetResourceTypes(Aws::Vector<ResourceType>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
76 inline UpdateLinkRequest& WithResourceTypes(Aws::Vector<ResourceType>&& value) { SetResourceTypes(std::move(value)); return *this;}
77 inline UpdateLinkRequest& AddResourceTypes(const ResourceType& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
78 inline UpdateLinkRequest& AddResourceTypes(ResourceType&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_identifier;
83 bool m_identifierHasBeenSet = false;
84
85 LinkConfiguration m_linkConfiguration;
86 bool m_linkConfigurationHasBeenSet = false;
87
88 Aws::Vector<ResourceType> m_resourceTypes;
89 bool m_resourceTypesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace OAM
94} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector