AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
53 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
54 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
55 inline UpdateServiceSpecificCredentialRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
56 inline UpdateServiceSpecificCredentialRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
57 inline UpdateServiceSpecificCredentialRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
59
61
67 inline const Aws::String& GetServiceSpecificCredentialId() const{ return m_serviceSpecificCredentialId; }
68 inline bool ServiceSpecificCredentialIdHasBeenSet() const { return m_serviceSpecificCredentialIdHasBeenSet; }
69 inline void SetServiceSpecificCredentialId(const Aws::String& value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId = value; }
70 inline void SetServiceSpecificCredentialId(Aws::String&& value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId = std::move(value); }
71 inline void SetServiceSpecificCredentialId(const char* value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId.assign(value); }
76
78
81 inline const StatusType& GetStatus() const{ return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(const StatusType& value) { m_statusHasBeenSet = true; m_status = value; }
84 inline void SetStatus(StatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
85 inline UpdateServiceSpecificCredentialRequest& WithStatus(const StatusType& value) { SetStatus(value); return *this;}
86 inline UpdateServiceSpecificCredentialRequest& WithStatus(StatusType&& value) { SetStatus(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_userName;
91 bool m_userNameHasBeenSet = false;
92
93 Aws::String m_serviceSpecificCredentialId;
94 bool m_serviceSpecificCredentialIdHasBeenSet = false;
95
96 StatusType m_status;
97 bool m_statusHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IAM
102} // namespace Aws
UpdateServiceSpecificCredentialRequest & WithUserName(Aws::String &&value)
UpdateServiceSpecificCredentialRequest & WithServiceSpecificCredentialId(const char *value)
UpdateServiceSpecificCredentialRequest & WithStatus(StatusType &&value)
UpdateServiceSpecificCredentialRequest & WithStatus(const StatusType &value)
UpdateServiceSpecificCredentialRequest & WithServiceSpecificCredentialId(Aws::String &&value)
UpdateServiceSpecificCredentialRequest & WithUserName(const Aws::String &value)
UpdateServiceSpecificCredentialRequest & WithServiceSpecificCredentialId(const Aws::String &value)
UpdateServiceSpecificCredentialRequest & WithUserName(const char *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