AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateResourceToProfileRequest.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 AssociateResourceToProfileRequest();
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 "AssociateResourceToProfile"; }
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
42 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
43 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
44 inline AssociateResourceToProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
45 inline AssociateResourceToProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
46 inline AssociateResourceToProfileRequest& WithName(const char* value) { SetName(value); return *this;}
48
50
53 inline const Aws::String& GetProfileId() const{ return m_profileId; }
54 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
55 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
56 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
57 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
58 inline AssociateResourceToProfileRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
59 inline AssociateResourceToProfileRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
60 inline AssociateResourceToProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
62
64
67 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
68 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
69 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
70 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
71 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
72 inline AssociateResourceToProfileRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
73 inline AssociateResourceToProfileRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
74 inline AssociateResourceToProfileRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
76
78
84 inline const Aws::String& GetResourceProperties() const{ return m_resourceProperties; }
85 inline bool ResourcePropertiesHasBeenSet() const { return m_resourcePropertiesHasBeenSet; }
86 inline void SetResourceProperties(const Aws::String& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = value; }
87 inline void SetResourceProperties(Aws::String&& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = std::move(value); }
88 inline void SetResourceProperties(const char* value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties.assign(value); }
91 inline AssociateResourceToProfileRequest& WithResourceProperties(const char* value) { SetResourceProperties(value); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_profileId;
99 bool m_profileIdHasBeenSet = false;
100
101 Aws::String m_resourceArn;
102 bool m_resourceArnHasBeenSet = false;
103
104 Aws::String m_resourceProperties;
105 bool m_resourcePropertiesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Route53Profiles
110} // namespace Aws
AssociateResourceToProfileRequest & WithResourceArn(const Aws::String &value)
AssociateResourceToProfileRequest & WithResourceArn(Aws::String &&value)
AssociateResourceToProfileRequest & WithResourceProperties(Aws::String &&value)
AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override
AssociateResourceToProfileRequest & WithName(Aws::String &&value)
AssociateResourceToProfileRequest & WithName(const char *value)
AssociateResourceToProfileRequest & WithProfileId(const char *value)
AssociateResourceToProfileRequest & WithResourceProperties(const Aws::String &value)
AssociateResourceToProfileRequest & WithProfileId(const Aws::String &value)
AssociateResourceToProfileRequest & WithName(const Aws::String &value)
AssociateResourceToProfileRequest & WithResourceProperties(const char *value)
AssociateResourceToProfileRequest & WithResourceArn(const char *value)
AssociateResourceToProfileRequest & WithProfileId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String