AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DisassociateResourceFromProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53profiles/Route53ProfilesRequest.h>
9#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53Profiles {
15namespace Model {
16
20 public:
21 AWS_ROUTE53PROFILES_API DisassociateResourceFromProfileRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DisassociateResourceFromProfile"; }
28
29 AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetProfileId() const { return m_profileId; }
36 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
37 template <typename ProfileIdT = Aws::String>
38 void SetProfileId(ProfileIdT&& value) {
39 m_profileIdHasBeenSet = true;
40 m_profileId = std::forward<ProfileIdT>(value);
41 }
42 template <typename ProfileIdT = Aws::String>
44 SetProfileId(std::forward<ProfileIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
54 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
55 template <typename ResourceArnT = Aws::String>
56 void SetResourceArn(ResourceArnT&& value) {
57 m_resourceArnHasBeenSet = true;
58 m_resourceArn = std::forward<ResourceArnT>(value);
59 }
60 template <typename ResourceArnT = Aws::String>
62 SetResourceArn(std::forward<ResourceArnT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_profileId;
68
69 Aws::String m_resourceArn;
70 bool m_profileIdHasBeenSet = false;
71 bool m_resourceArnHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Route53Profiles
76} // namespace Aws
AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override
AWS_ROUTE53PROFILES_API DisassociateResourceFromProfileRequest()=default
DisassociateResourceFromProfileRequest & WithProfileId(ProfileIdT &&value)
DisassociateResourceFromProfileRequest & WithResourceArn(ResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String