AWS SDK for C++  1.8.95
AWS SDK for C++
ResolveCustomerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MarketplaceMetering
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ResolveCustomer"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
46  inline const Aws::String& GetRegistrationToken() const{ return m_registrationToken; }
47 
53  inline bool RegistrationTokenHasBeenSet() const { return m_registrationTokenHasBeenSet; }
54 
60  inline void SetRegistrationToken(const Aws::String& value) { m_registrationTokenHasBeenSet = true; m_registrationToken = value; }
61 
67  inline void SetRegistrationToken(Aws::String&& value) { m_registrationTokenHasBeenSet = true; m_registrationToken = std::move(value); }
68 
74  inline void SetRegistrationToken(const char* value) { m_registrationTokenHasBeenSet = true; m_registrationToken.assign(value); }
75 
81  inline ResolveCustomerRequest& WithRegistrationToken(const Aws::String& value) { SetRegistrationToken(value); return *this;}
82 
88  inline ResolveCustomerRequest& WithRegistrationToken(Aws::String&& value) { SetRegistrationToken(std::move(value)); return *this;}
89 
95  inline ResolveCustomerRequest& WithRegistrationToken(const char* value) { SetRegistrationToken(value); return *this;}
96 
97  private:
98 
99  Aws::String m_registrationToken;
100  bool m_registrationTokenHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace MarketplaceMetering
105 } // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ResolveCustomerRequest & WithRegistrationToken(const Aws::String &value)
ResolveCustomerRequest & WithRegistrationToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResolveCustomerRequest & WithRegistrationToken(const char *value)
#define AWS_MARKETPLACEMETERING_API