AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateServiceSpecificCredentialRequest.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/StatusType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IAM
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateServiceSpecificCredential"; }
32
33 AWS_IAM_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
50 inline const Aws::String& GetUserName() const { return m_userName; }
51 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
52 template<typename UserNameT = Aws::String>
53 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
54 template<typename UserNameT = Aws::String>
55 UpdateServiceSpecificCredentialRequest& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
57
59
65 inline const Aws::String& GetServiceSpecificCredentialId() const { return m_serviceSpecificCredentialId; }
66 inline bool ServiceSpecificCredentialIdHasBeenSet() const { return m_serviceSpecificCredentialIdHasBeenSet; }
67 template<typename ServiceSpecificCredentialIdT = Aws::String>
68 void SetServiceSpecificCredentialId(ServiceSpecificCredentialIdT&& value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId = std::forward<ServiceSpecificCredentialIdT>(value); }
69 template<typename ServiceSpecificCredentialIdT = Aws::String>
70 UpdateServiceSpecificCredentialRequest& WithServiceSpecificCredentialId(ServiceSpecificCredentialIdT&& value) { SetServiceSpecificCredentialId(std::forward<ServiceSpecificCredentialIdT>(value)); return *this;}
72
74
77 inline StatusType GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(StatusType value) { m_statusHasBeenSet = true; m_status = value; }
82 private:
83
84 Aws::String m_userName;
85 bool m_userNameHasBeenSet = false;
86
87 Aws::String m_serviceSpecificCredentialId;
88 bool m_serviceSpecificCredentialIdHasBeenSet = false;
89
91 bool m_statusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IAM
96} // 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