AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
SetLogDeliveryConfigurationRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/LogConfigurationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CognitoIdentityProvider {
17namespace Model {
18
22 public:
23 AWS_COGNITOIDENTITYPROVIDER_API SetLogDeliveryConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "SetLogDeliveryConfiguration"; }
30
31 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
40 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
41 template <typename UserPoolIdT = Aws::String>
42 void SetUserPoolId(UserPoolIdT&& value) {
43 m_userPoolIdHasBeenSet = true;
44 m_userPoolId = std::forward<UserPoolIdT>(value);
45 }
46 template <typename UserPoolIdT = Aws::String>
48 SetUserPoolId(std::forward<UserPoolIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Vector<LogConfigurationType>& GetLogConfigurations() const { return m_logConfigurations; }
58 inline bool LogConfigurationsHasBeenSet() const { return m_logConfigurationsHasBeenSet; }
59 template <typename LogConfigurationsT = Aws::Vector<LogConfigurationType>>
60 void SetLogConfigurations(LogConfigurationsT&& value) {
61 m_logConfigurationsHasBeenSet = true;
62 m_logConfigurations = std::forward<LogConfigurationsT>(value);
63 }
64 template <typename LogConfigurationsT = Aws::Vector<LogConfigurationType>>
66 SetLogConfigurations(std::forward<LogConfigurationsT>(value));
67 return *this;
68 }
69 template <typename LogConfigurationsT = LogConfigurationType>
71 m_logConfigurationsHasBeenSet = true;
72 m_logConfigurations.emplace_back(std::forward<LogConfigurationsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_userPoolId;
78
79 Aws::Vector<LogConfigurationType> m_logConfigurations;
80 bool m_userPoolIdHasBeenSet = false;
81 bool m_logConfigurationsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CognitoIdentityProvider
86} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetLogDeliveryConfigurationRequest & WithLogConfigurations(LogConfigurationsT &&value)
SetLogDeliveryConfigurationRequest & AddLogConfigurations(LogConfigurationsT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API SetLogDeliveryConfigurationRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector