AWS SDK for C++  1.9.46
AWS SDK for C++
ApproveSkillRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "ApproveSkill"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetSkillId() const{ return m_skillId; }
41 
45  inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
46 
50  inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
51 
55  inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
56 
60  inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
61 
65  inline ApproveSkillRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
66 
70  inline ApproveSkillRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
71 
75  inline ApproveSkillRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_skillId;
80  bool m_skillIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace AlexaForBusiness
85 } // namespace Aws
Aws::AlexaForBusiness::Model::ApproveSkillRequest::SkillIdHasBeenSet
bool SkillIdHasBeenSet() const
Definition: ApproveSkillRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::ApproveSkillRequest
Definition: ApproveSkillRequest.h:22
Aws::AlexaForBusiness::Model::ApproveSkillRequest::SetSkillId
void SetSkillId(const Aws::String &value)
Definition: ApproveSkillRequest.h:50
Aws::AlexaForBusiness::Model::ApproveSkillRequest::SetSkillId
void SetSkillId(Aws::String &&value)
Definition: ApproveSkillRequest.h:55
Aws::AlexaForBusiness::Model::ApproveSkillRequest::WithSkillId
ApproveSkillRequest & WithSkillId(const Aws::String &value)
Definition: ApproveSkillRequest.h:65
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::ApproveSkillRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::ApproveSkillRequest::GetSkillId
const Aws::String & GetSkillId() const
Definition: ApproveSkillRequest.h:40
AWSString.h
Aws::AlexaForBusiness::Model::ApproveSkillRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::ApproveSkillRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ApproveSkillRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::ApproveSkillRequest::SetSkillId
void SetSkillId(const char *value)
Definition: ApproveSkillRequest.h:60
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::ApproveSkillRequest::WithSkillId
ApproveSkillRequest & WithSkillId(const char *value)
Definition: ApproveSkillRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ApproveSkillRequest::WithSkillId
ApproveSkillRequest & WithSkillId(Aws::String &&value)
Definition: ApproveSkillRequest.h:70
Aws::AlexaForBusiness::Model::ApproveSkillRequest::ApproveSkillRequest
ApproveSkillRequest()
AlexaForBusinessRequest.h