AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FailedProfileOutboundRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaignsv2/model/ProfileOutboundRequestFailureCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCampaignsV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest() = default;
36 AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetClientToken() const { return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 FailedProfileOutboundRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 FailedProfileOutboundRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
63 inline ProfileOutboundRequestFailureCode GetFailureCode() const { return m_failureCode; }
64 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
65 inline void SetFailureCode(ProfileOutboundRequestFailureCode value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
68 private:
69
70 Aws::String m_clientToken;
71 bool m_clientTokenHasBeenSet = false;
72
73 Aws::String m_id;
74 bool m_idHasBeenSet = false;
75
77 bool m_failureCodeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ConnectCampaignsV2
82} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue)
FailedProfileOutboundRequest & WithFailureCode(ProfileOutboundRequestFailureCode value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest()=default
FailedProfileOutboundRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue