AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuccessfulRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCampaigns
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECTCAMPAIGNS_API SuccessfulRequest();
36 AWS_CONNECTCAMPAIGNS_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNS_API SuccessfulRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNS_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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline SuccessfulRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline SuccessfulRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline SuccessfulRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
55 inline const Aws::String& GetId() const{ return m_id; }
56 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
57 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
60 inline SuccessfulRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline SuccessfulRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline SuccessfulRequest& WithId(const char* value) { SetId(value); return *this;}
64 private:
65
66 Aws::String m_clientToken;
67 bool m_clientTokenHasBeenSet = false;
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ConnectCampaigns
75} // namespace Aws
SuccessfulRequest & WithClientToken(const Aws::String &value)
SuccessfulRequest & WithId(const char *value)
SuccessfulRequest & WithClientToken(Aws::String &&value)
SuccessfulRequest & WithClientToken(const char *value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNS_API SuccessfulRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SuccessfulRequest & WithId(Aws::String &&value)
SuccessfulRequest & WithId(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API SuccessfulRequest()
AWS_CONNECTCAMPAIGNS_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue