AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateServiceSpecificCredentialRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/iam/IAM_EXPORTS.h>
10#include <aws/iam/model/StatusType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IAM {
16namespace Model {
17
21 public:
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceSpecificCredential"; }
29
30 AWS_IAM_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
46 inline const Aws::String& GetUserName() const { return m_userName; }
47 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
48 template <typename UserNameT = Aws::String>
49 void SetUserName(UserNameT&& value) {
50 m_userNameHasBeenSet = true;
51 m_userName = std::forward<UserNameT>(value);
52 }
53 template <typename UserNameT = Aws::String>
55 SetUserName(std::forward<UserNameT>(value));
56 return *this;
57 }
59
61
67 inline const Aws::String& GetServiceSpecificCredentialId() const { return m_serviceSpecificCredentialId; }
68 inline bool ServiceSpecificCredentialIdHasBeenSet() const { return m_serviceSpecificCredentialIdHasBeenSet; }
69 template <typename ServiceSpecificCredentialIdT = Aws::String>
70 void SetServiceSpecificCredentialId(ServiceSpecificCredentialIdT&& value) {
71 m_serviceSpecificCredentialIdHasBeenSet = true;
72 m_serviceSpecificCredentialId = std::forward<ServiceSpecificCredentialIdT>(value);
73 }
74 template <typename ServiceSpecificCredentialIdT = Aws::String>
76 SetServiceSpecificCredentialId(std::forward<ServiceSpecificCredentialIdT>(value));
77 return *this;
78 }
80
82
85 inline StatusType GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(StatusType value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96 private:
97 Aws::String m_userName;
98
99 Aws::String m_serviceSpecificCredentialId;
100
102 bool m_userNameHasBeenSet = false;
103 bool m_serviceSpecificCredentialIdHasBeenSet = false;
104 bool m_statusHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace IAM
109} // namespace Aws
UpdateServiceSpecificCredentialRequest & WithStatus(StatusType value)
UpdateServiceSpecificCredentialRequest & WithServiceSpecificCredentialId(ServiceSpecificCredentialIdT &&value)
UpdateServiceSpecificCredentialRequest & WithUserName(UserNameT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String