AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProfileResourceAssociationRequest.h
1
6#pragma once
7#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
8#include <aws/route53profiles/Route53ProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Route53Profiles
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ROUTE53PROFILES_API UpdateProfileResourceAssociationRequest() = 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 "UpdateProfileResourceAssociation"; }
31
32 AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template<typename NameT = Aws::String>
42 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
43 template<typename NameT = Aws::String>
44 UpdateProfileResourceAssociationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetProfileResourceAssociationId() const { return m_profileResourceAssociationId; }
52 inline bool ProfileResourceAssociationIdHasBeenSet() const { return m_profileResourceAssociationIdHasBeenSet; }
53 template<typename ProfileResourceAssociationIdT = Aws::String>
54 void SetProfileResourceAssociationId(ProfileResourceAssociationIdT&& value) { m_profileResourceAssociationIdHasBeenSet = true; m_profileResourceAssociationId = std::forward<ProfileResourceAssociationIdT>(value); }
55 template<typename ProfileResourceAssociationIdT = Aws::String>
56 UpdateProfileResourceAssociationRequest& WithProfileResourceAssociationId(ProfileResourceAssociationIdT&& value) { SetProfileResourceAssociationId(std::forward<ProfileResourceAssociationIdT>(value)); return *this;}
58
60
66 inline const Aws::String& GetResourceProperties() const { return m_resourceProperties; }
67 inline bool ResourcePropertiesHasBeenSet() const { return m_resourcePropertiesHasBeenSet; }
68 template<typename ResourcePropertiesT = Aws::String>
69 void SetResourceProperties(ResourcePropertiesT&& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = std::forward<ResourcePropertiesT>(value); }
70 template<typename ResourcePropertiesT = Aws::String>
71 UpdateProfileResourceAssociationRequest& WithResourceProperties(ResourcePropertiesT&& value) { SetResourceProperties(std::forward<ResourcePropertiesT>(value)); return *this;}
73 private:
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
78 Aws::String m_profileResourceAssociationId;
79 bool m_profileResourceAssociationIdHasBeenSet = false;
80
81 Aws::String m_resourceProperties;
82 bool m_resourcePropertiesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Route53Profiles
87} // namespace Aws
UpdateProfileResourceAssociationRequest & WithProfileResourceAssociationId(ProfileResourceAssociationIdT &&value)
UpdateProfileResourceAssociationRequest & WithResourceProperties(ResourcePropertiesT &&value)
AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override
AWS_ROUTE53PROFILES_API UpdateProfileResourceAssociationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String