AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Transfer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSFER_API UpdateProfileRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
32
33 AWS_TRANSFER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetProfileId() const{ return m_profileId; }
43 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
44 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
45 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
46 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
47 inline UpdateProfileRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
48 inline UpdateProfileRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
49 inline UpdateProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
51
53
57 inline const Aws::Vector<Aws::String>& GetCertificateIds() const{ return m_certificateIds; }
58 inline bool CertificateIdsHasBeenSet() const { return m_certificateIdsHasBeenSet; }
59 inline void SetCertificateIds(const Aws::Vector<Aws::String>& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = value; }
60 inline void SetCertificateIds(Aws::Vector<Aws::String>&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = std::move(value); }
62 inline UpdateProfileRequest& WithCertificateIds(Aws::Vector<Aws::String>&& value) { SetCertificateIds(std::move(value)); return *this;}
63 inline UpdateProfileRequest& AddCertificateIds(const Aws::String& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(value); return *this; }
64 inline UpdateProfileRequest& AddCertificateIds(Aws::String&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(std::move(value)); return *this; }
65 inline UpdateProfileRequest& AddCertificateIds(const char* value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(value); return *this; }
67 private:
68
69 Aws::String m_profileId;
70 bool m_profileIdHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_certificateIds;
73 bool m_certificateIdsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Transfer
78} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetCertificateIds(Aws::Vector< Aws::String > &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProfileRequest & AddCertificateIds(const Aws::String &value)
UpdateProfileRequest & WithCertificateIds(const Aws::Vector< Aws::String > &value)
void SetProfileId(const Aws::String &value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
UpdateProfileRequest & WithCertificateIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCertificateIds() const
UpdateProfileRequest & AddCertificateIds(Aws::String &&value)
UpdateProfileRequest & AddCertificateIds(const char *value)
UpdateProfileRequest & WithProfileId(const Aws::String &value)
UpdateProfileRequest & WithProfileId(Aws::String &&value)
UpdateProfileRequest & WithProfileId(const char *value)
void SetCertificateIds(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector